Plugin Directory

Changeset 3432233


Ignore:
Timestamp:
01/04/2026 07:50:29 PM (3 months ago)
Author:
ninjateam
Message:

Duplicate Page 1.8.1

Location:
wp-duplicate-page/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-duplicate-page/trunk/includes/Classes/ButtonDuplicate.php

    r3394773 r3432233  
    5454    public function duplicateBulkHandle( $redirect, $action, $postIds ) {
    5555        if ( 'wp_duplicate_page_bulk_action' === $action ) {
     56            if ( ! Utils::isCurrentUserAllowedToCopy() ) {
     57                return $redirect;
     58            }
    5659            // Get the original post
    5760            $counter = 0;
     
    7982    public function duplicateBulkHandleHPOS( $redirect, $action, $ids ) {
    8083        if ( 'wp_duplicate_page_bulk_action' === $action ) {
     84            if ( ! Utils::isCurrentUserAllowedToCopy() ) {
     85                return $redirect;
     86            }
    8187            $counter = 0;
    8288            if ( is_array( $ids ) ) {
  • wp-duplicate-page/trunk/readme.txt

    r3394773 r3432233  
    55Requires at least: 4.0
    66Requires PHP: 5.3
    7 Tested up to: 6.8
    8 Stable tag: 1.8
     7Tested up to: 6.9
     8Stable tag: 1.8.1
    99License: GPL-2.0+
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    8080== Changelog ==
    8181
     82= Jan 05, 2026 - Version 1.8.1 =
     83- Improved: Security
     84
    8285= Nov 13, 2025 - Version 1.8 =
    8386- Added: Duplicate button in Editor
  • wp-duplicate-page/trunk/wp-duplicate-page.php

    r3394773 r3432233  
    22/**
    33 * Plugin Name: WP Duplicate Page
    4  * Plugin URI: https://ninjateam.org/wp-duplicate-page/
     4 * Plugin URI: https://ninjateam.org
    55 * Description: Duplicate Posts, Pages and Custom Post Types.
    6  * Version: 1.8
     6 * Version: 1.8.1
    77 * Author: NinjaTeam
    88 * Author URI: https://ninjateam.org
     
    1717defined( 'ABSPATH' ) || exit;
    1818
    19 define( 'NJT_DUPLICATE_VERSION', '1.8' );
     19define( 'NJT_DUPLICATE_VERSION', '1.8.1' );
    2020define( 'NJT_DUPLICATE_DOMAIN', 'wp-duplicate-page' );
    2121
Note: See TracChangeset for help on using the changeset viewer.