Version Description
- Bug fix from last update
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Post Duplicator |
Version | 2.28 |
Comparing to | |
See all releases |
Code changes from version 2.27 to 2.28
- includes/ajax.php +2 -2
- m4c-postduplicator.php +2 -2
- readme.txt +5 -2
includes/ajax.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/* --------------------------------------------------------- */
|
4 |
-
/* !Duplicate the post - 2.
|
5 |
/* --------------------------------------------------------- */
|
6 |
|
7 |
function mtphr_duplicate_post( $original_id, $args=array(), $do_action=true ) {
|
@@ -77,7 +77,7 @@ function mtphr_duplicate_post( $original_id, $args=array(), $do_action=true ) {
|
|
77 |
$data = array(
|
78 |
'post_id' => intval( $duplicate_id ),
|
79 |
'meta_key' => sanitize_text_field( $key ),
|
80 |
-
'meta_value' =>
|
81 |
);
|
82 |
$formats = array(
|
83 |
'%d',
|
1 |
<?php
|
2 |
|
3 |
/* --------------------------------------------------------- */
|
4 |
+
/* !Duplicate the post - 2.28 */
|
5 |
/* --------------------------------------------------------- */
|
6 |
|
7 |
function mtphr_duplicate_post( $original_id, $args=array(), $do_action=true ) {
|
77 |
$data = array(
|
78 |
'post_id' => intval( $duplicate_id ),
|
79 |
'meta_key' => sanitize_text_field( $key ),
|
80 |
+
'meta_value' => $v,
|
81 |
);
|
82 |
$formats = array(
|
83 |
'%d',
|
m4c-postduplicator.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Post Duplicator
|
4 |
Description: Creates functionality to duplicate any and all post types, including taxonomies & custom fields
|
5 |
-
Version: 2.
|
6 |
Author: Metaphor Creations
|
7 |
Author URI: http://www.metaphorcreations.com
|
8 |
Text Domain: post-duplicator
|
@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
30 |
|
31 |
// Plugin version.
|
32 |
if ( ! defined( 'MTPHR_POST_DUPLICATOR_VERSION' ) ) {
|
33 |
-
define( 'MTPHR_POST_DUPLICATOR_VERSION', '2.
|
34 |
}
|
35 |
|
36 |
// Plugin Folder Path.
|
2 |
/*
|
3 |
Plugin Name: Post Duplicator
|
4 |
Description: Creates functionality to duplicate any and all post types, including taxonomies & custom fields
|
5 |
+
Version: 2.28
|
6 |
Author: Metaphor Creations
|
7 |
Author URI: http://www.metaphorcreations.com
|
8 |
Text Domain: post-duplicator
|
30 |
|
31 |
// Plugin version.
|
32 |
if ( ! defined( 'MTPHR_POST_DUPLICATOR_VERSION' ) ) {
|
33 |
+
define( 'MTPHR_POST_DUPLICATOR_VERSION', '2.28' );
|
34 |
}
|
35 |
|
36 |
// Plugin Folder Path.
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: metaphorcreations
|
|
3 |
Tags: posts, post, duplicate, duplication
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.9
|
6 |
-
Stable tag: 2.
|
7 |
License: GPL2
|
8 |
|
9 |
Creates functionality to duplicate any and all post types, including taxonomies & custom fields.
|
@@ -41,6 +41,9 @@ Check out the 'Installation' tab.
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
44 |
= 2.27 =
|
45 |
* Sanitization and validation updates
|
46 |
* Settings page optimization
|
@@ -150,4 +153,4 @@ Must upgrade in order for the plugin to work. The file paths where initially wro
|
|
150 |
|
151 |
== Upgrade Notice ==
|
152 |
|
153 |
-
|
3 |
Tags: posts, post, duplicate, duplication
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.9
|
6 |
+
Stable tag: 2.28
|
7 |
License: GPL2
|
8 |
|
9 |
Creates functionality to duplicate any and all post types, including taxonomies & custom fields.
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 2.28 =
|
45 |
+
* Bug fix from last update
|
46 |
+
|
47 |
= 2.27 =
|
48 |
* Sanitization and validation updates
|
49 |
* Settings page optimization
|
153 |
|
154 |
== Upgrade Notice ==
|
155 |
|
156 |
+
Bug fix from last update
|