Plugin Directory

Changeset 3019635

Timestamp:
01/10/2024 06:02:43 AM (7 months ago)
Author:
arulprasadj
Message:

Confirmed working with WordPress 6.4.2
Fixed password protected page duplication issue

Location:
wp-quick-post-duplicator
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-quick-post-duplicator/trunk/readme.txt

    r2888389 r3019635  
    55* Donate link:     https://paypal.me/arulprasadj?locale.x=en_GB
    66* Requires at least: 3.0
    7 * Tested up to:      6.2
    8 * Stable tag:        1.0
     7* Tested up to:      6.
     8* Stable tag:        .0
    99* License:           GPLv2 or later
    1010* License URI:       http://www.gnu.org/licenses/gpl-2.0.html
     
    4444== Changelog ==
    4545
     46
     47
     48
     49
    4650= 1.0 =
    4751* Initial release
  • wp-quick-post-duplicator/trunk/wp-quick-post-duplicator.php

    r2440339 r3019635  
    55 *
    66 * @package WP Quick Post Duplicator
     7
    78 * @since 1.0
    89 */
     
    1415 * Author:      Arul Prasad J
    1516 * Author URI:  https://profiles.wordpress.org/arulprasadj/
    16  * Version:     1.0
     17 * Version:     .0
    1718 * Text Domain: wp-quick-post-duplicator
    1819 * Domain Path: /languages
    1920 * License:     GPLv2 or later (license.txt)
    20  
     21
    2122 Copyright (C)  2020-2021 arulprasadj
    2223 This program is free software; you can redistribute it and/or modify
     
    6566
    6667    $post_id         = (isset($apjvalue1) ? $apjvalue1 : $apjvalue2);
    67    
     68
    6869    $post            = get_post($post_id);
    69    
     70
    7071    $current_user    = wp_get_current_user();
    7172    $new_post_author = $current_user->ID;
     
    8283            'post_name'      => $post->post_name,
    8384            'post_parent'    => $post->post_parent,
    84             'post_passworks' => $post->post_password,
     85            'post_passwor => $post->post_password,
    8586            'post_status'    => 'draft',
    8687            'post_title'     => $post->post_title,
     
    128129function PluginRowMeta($links_array, $plugin_file_name)
    129130{
    130    
     131
    131132    if (strpos($plugin_file_name, 'wp-quick-post-duplicator.php')) $links_array = array_merge($links_array, array(
    132133        '<a target="_blank" href="https://paypal.me/arulprasadj?locale.x=en_GB"><span style="font-size: 20px; height: 20px; width: 20px;" class="dashicons dashicons-heart"></span>Donate</a>'
Note: See TracChangeset for help on using the changeset viewer.