Version Description
- Javascript update for WP 5.5
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Post Duplicator |
Version | 2.21 |
Comparing to | |
See all releases |
Code changes from version 2.20 to 2.21
- assets/js/pd-admin.js +1 -1
- m4c-postduplicator.php +2 -2
- readme.txt +5 -2
assets/js/pd-admin.js
CHANGED
@@ -9,7 +9,7 @@ jQuery( document ).ready( function() {
|
|
9 |
* @since 2.12
|
10 |
*/
|
11 |
|
12 |
-
jQuery( '
|
13 |
|
14 |
e.preventDefault();
|
15 |
var $spinner = jQuery(this).next('.spinner');
|
9 |
* @since 2.12
|
10 |
*/
|
11 |
|
12 |
+
jQuery( 'body' ).on( 'click', '.m4c-duplicate-post', function( e ) {
|
13 |
|
14 |
e.preventDefault();
|
15 |
var $spinner = jQuery(this).next('.spinner');
|
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 |
|
32 |
/**Define Widget Constants */
|
33 |
-
define ( 'MTPHR_POST_DUPLICATOR_VERSION', '2.
|
34 |
define ( 'MTPHR_POST_DUPLICATOR_DIR', plugin_dir_path(__FILE__) );
|
35 |
|
36 |
|
2 |
/*
|
3 |
Plugin Name: Post Duplicator
|
4 |
Description: Creates functionality to duplicate any and all post types, including taxonomies & custom fields
|
5 |
+
Version: 2.21
|
6 |
Author: Metaphor Creations
|
7 |
Author URI: http://www.metaphorcreations.com
|
8 |
Text Domain: post-duplicator
|
30 |
|
31 |
|
32 |
/**Define Widget Constants */
|
33 |
+
define ( 'MTPHR_POST_DUPLICATOR_VERSION', '2.21' );
|
34 |
define ( 'MTPHR_POST_DUPLICATOR_DIR', plugin_dir_path(__FILE__) );
|
35 |
|
36 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: metaphorcreations
|
3 |
Tags: posts, post, duplicate, duplication
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to:
|
6 |
Stable tag: /trunk/
|
7 |
License: GPL2
|
8 |
|
@@ -41,6 +41,9 @@ Check out the 'Installation' tab.
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
44 |
= 2.20 =
|
45 |
* Added "do_action( 'mtphr_post_duplicator_created', $original_id, $duplicate_id, $settings )" action for custom actions on duplicated post
|
46 |
* Added "mtphr_post_duplicator_action_row_link( $post )" function for custom post action rows
|
@@ -124,4 +127,4 @@ Must upgrade in order for the plugin to work. The file paths where initially wro
|
|
124 |
|
125 |
== Upgrade Notice ==
|
126 |
|
127 |
-
|
2 |
Contributors: metaphorcreations
|
3 |
Tags: posts, post, duplicate, duplication
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.5
|
6 |
Stable tag: /trunk/
|
7 |
License: GPL2
|
8 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 2.21 =
|
45 |
+
* Javascript update for WP 5.5
|
46 |
+
|
47 |
= 2.20 =
|
48 |
* Added "do_action( 'mtphr_post_duplicator_created', $original_id, $duplicate_id, $settings )" action for custom actions on duplicated post
|
49 |
* Added "mtphr_post_duplicator_action_row_link( $post )" function for custom post action rows
|
127 |
|
128 |
== Upgrade Notice ==
|
129 |
|
130 |
+
Javascript update for WP 5.5
|