Changeset 3432233
- Timestamp:
- 01/04/2026 07:50:29 PM (3 months ago)
- Location:
- wp-duplicate-page/trunk
- Files:
-
- 3 edited
-
includes/Classes/ButtonDuplicate.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-duplicate-page.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-duplicate-page/trunk/includes/Classes/ButtonDuplicate.php
r3394773 r3432233 54 54 public function duplicateBulkHandle( $redirect, $action, $postIds ) { 55 55 if ( 'wp_duplicate_page_bulk_action' === $action ) { 56 if ( ! Utils::isCurrentUserAllowedToCopy() ) { 57 return $redirect; 58 } 56 59 // Get the original post 57 60 $counter = 0; … … 79 82 public function duplicateBulkHandleHPOS( $redirect, $action, $ids ) { 80 83 if ( 'wp_duplicate_page_bulk_action' === $action ) { 84 if ( ! Utils::isCurrentUserAllowedToCopy() ) { 85 return $redirect; 86 } 81 87 $counter = 0; 82 88 if ( is_array( $ids ) ) { -
wp-duplicate-page/trunk/readme.txt
r3394773 r3432233 5 5 Requires at least: 4.0 6 6 Requires PHP: 5.3 7 Tested up to: 6. 88 Stable tag: 1.8 7 Tested up to: 6.9 8 Stable tag: 1.8.1 9 9 License: GPL-2.0+ 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 80 80 == Changelog == 81 81 82 = Jan 05, 2026 - Version 1.8.1 = 83 - Improved: Security 84 82 85 = Nov 13, 2025 - Version 1.8 = 83 86 - Added: Duplicate button in Editor -
wp-duplicate-page/trunk/wp-duplicate-page.php
r3394773 r3432233 2 2 /** 3 3 * Plugin Name: WP Duplicate Page 4 * Plugin URI: https://ninjateam.org /wp-duplicate-page/4 * Plugin URI: https://ninjateam.org 5 5 * Description: Duplicate Posts, Pages and Custom Post Types. 6 * Version: 1.8 6 * Version: 1.8.1 7 7 * Author: NinjaTeam 8 8 * Author URI: https://ninjateam.org … … 17 17 defined( 'ABSPATH' ) || exit; 18 18 19 define( 'NJT_DUPLICATE_VERSION', '1.8 ' );19 define( 'NJT_DUPLICATE_VERSION', '1.8.1' ); 20 20 define( 'NJT_DUPLICATE_DOMAIN', 'wp-duplicate-page' ); 21 21
Note: See TracChangeset
for help on using the changeset viewer.