Plugin Directory

Changeset 3319548


Ignore:
Timestamp:
06/29/2025 07:48:49 PM (9 months ago)
Author:
pattihis
Message:

Version 2.1.3

Location:
clone-posts
Files:
22 added
6 edited

Legend:

Unmodified
Added
Removed
  • clone-posts/trunk/README.txt

    r3199997 r3319548  
    22Contributors: pattihis
    33Donate link: https://profiles.wordpress.org/pattihis/
    4 Tags: clone posts, clone pages, clone post, clone page, clone, page cloning, post cloning, posts cloning, pages cloning, page copy, page copy paste, post copy, posts copy paste, copy pages, copy posts, copy and paste posts, copy and paste pages, clone, cloning, copy and paste
     4Tags: clone posts, clone pages, duplicate posts, copy posts, post cloning
    55Requires at least: 5.3.0
    6 Tested up to: 6.7.1
     6Tested up to: 6.8
    77Requires PHP: 7.2
    8 Stable tag: 2.1.2
     8Stable tag: 2.1.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5858== Changelog ==
    5959
     60= 2.1.3 =
     61* Ensure compatibility with WP 6.8
     62* Reduced tags to the 5 most useful and relevant ones
     63* Ensured full WordPress coding standards compliance (PHPCS)
     64
    6065= 2.1.2 =
    61 * Ensure compatibility with WP 6.7.x
     66* Ensure compatibility with WP 6.7
    6267
    6368= 2.1.1 =
     
    6671
    6772= 2.1.0 =
    68 * Ensure compatibility with WP 6.4.x
     73* Ensure compatibility with WP 6.4
    6974* Settings Page Styling Update
    7075* Translations Update
     
    7277
    7378= 2.0.4 =
    74 * Ensure compatibility with WP 6.1.x
     79* Ensure compatibility with WP 6.1
    7580* Maybe Unserialize Meta Values - Thanks @bradvin
    7681
    7782= 2.0.3 =
    78 * Ensure compatibility with WP 6.0.x
     83* Ensure compatibility with WP 6.0
    7984* Remove jQuery and any dependencies
    8085* Add translation template
     
    8994
    9095= 2.0.0 =
    91 * Major update - compatible with WP 5.7.x
     96* Major update - compatible with WP 5.7
    9297* Feature: Compatible with Custom Post Types
    9398* Feature: Copy custom fields (post-metadata)
  • clone-posts/trunk/admin/class-clone-posts-admin.php

    r3020135 r3319548  
    315315                    }
    316316
    317                     $cloned++;
     317                    ++$cloned;
    318318                }
    319319
  • clone-posts/trunk/admin/css/clone-posts-admin.css

    r3020135 r3319548  
    11.clone-posts_header {
    2   background: white;
    3   border-radius: 8px;
    4   padding: 10px;
    5   max-width: 550px;
    6   margin: 16px 0;
     2    background: white;
     3    border-radius: 8px;
     4    padding: 10px;
     5    max-width: 550px;
     6    margin: 16px 0;
    77}
    88.clone-posts_header h1 {
    9   display: flex;
    10   align-items: center;
     9    display: flex;
     10    align-items: center;
    1111}
    1212
    1313.clone-posts_wrap {
    14   background: #ffffff;
    15   border-radius: 8px;
    16   padding: 0 16px;
    17   max-width: 540px;
     14    background: #ffffff;
     15    border-radius: 8px;
     16    padding: 0 16px;
     17    max-width: 540px;
    1818}
    1919
    2020.clone-posts.dashicons-admin-page {
    21   width: 26px;
    22   height: 26px;
     21    width: 26px;
     22    height: 26px;
    2323}
    2424
    2525.clone-posts.dashicons-admin-page::before {
    26   font-size: 26px;
     26    font-size: 26px;
    2727}
  • clone-posts/trunk/clone-posts.php

    r3199997 r3319548  
    1414 * Plugin URI:        http://wordpress.org/extend/plugins/clone-posts/
    1515 * Description:       Easily clone (duplicate) Posts, Pages and Custom Post Types, including their custom fields (post_meta).
    16  * Version:           2.1.2
     16 * Version:           2.1.3
    1717 * Requires at least: 5.3.0
    18  * Tested up to:      6.7.1
     18 * Tested up to:      6.8
    1919 * Requires PHP:      7.2
    2020 * Author:            George Pattichis
     
    5151 * Current plugin version.
    5252 */
    53 define( 'CLONE_POSTS_VERSION', '2.1.2' );
     53define( 'CLONE_POSTS_VERSION', '2.1.3' );
    5454
    5555/**
  • clone-posts/trunk/includes/class-clone-posts.php

    r3199997 r3319548  
    6767            $this->version = CLONE_POSTS_VERSION;
    6868        } else {
    69             $this->version = '2.1.2';
     69            $this->version = '2.1.3';
    7070        }
    7171        $this->plugin_name = 'clone-posts';
     
    9797         * core plugin.
    9898         */
    99         require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-clone-posts-loader.php';
     99        require_once plugin_dir_path( __DIR__ ) . 'includes/class-clone-posts-loader.php';
    100100
    101101        /**
     
    103103         * of the plugin.
    104104         */
    105         require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-clone-posts-i18n.php';
     105        require_once plugin_dir_path( __DIR__ ) . 'includes/class-clone-posts-i18n.php';
    106106
    107107        /**
    108108         * The class responsible for defining all actions that occur in the admin area.
    109109         */
    110         require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-clone-posts-admin.php';
     110        require_once plugin_dir_path( __DIR__ ) . 'admin/class-clone-posts-admin.php';
    111111
    112112        $this->loader = new Clone_Posts_Loader();
  • clone-posts/trunk/includes/index.php

    r2540915 r3319548  
    1 <?php // Silence is golden
     1<?php
     2/**
     3 * Silence is golden.
     4 */
Note: See TracChangeset for help on using the changeset viewer.