Duplicate Post - Version 3.1.1

Version Description

Bulk clone + custom field wildcards + other features + bugfixes + fix for nasty nag

Download this release

Release Info

Developer lopo
Plugin Icon 128x128 Duplicate Post
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1 to 3.1.1

duplicate-post-admin.php CHANGED
@@ -157,7 +157,7 @@ if (get_site_option('duplicate_post_show_notice') == 1){
157
  }
158
 
159
  jQuery(document).ready(function(){
160
- jQuery('.notice-dismiss').click(function(){
161
  duplicate_post_dismiss_notice();
162
  });
163
  });
157
  }
158
 
159
  jQuery(document).ready(function(){
160
+ jQuery('body').on('click', '.notice-dismiss', function(){
161
  duplicate_post_dismiss_notice();
162
  });
163
  });
duplicate-post-options.php CHANGED
@@ -38,6 +38,7 @@ function duplicate_post_register_settings() { // whitelist options
38
  register_setting( 'duplicate_post_group', 'duplicate_post_show_adminbar');
39
  register_setting( 'duplicate_post_group', 'duplicate_post_show_submitbox');
40
  register_setting( 'duplicate_post_group', 'duplicate_post_show_bulkactions');
 
41
  }
42
 
43
 
@@ -374,6 +375,13 @@ img#donate-button{
374
  </span>
375
  </td>
376
  </tr>
 
 
 
 
 
 
 
377
  </table>
378
  </section>
379
  <p class="submit">
38
  register_setting( 'duplicate_post_group', 'duplicate_post_show_adminbar');
39
  register_setting( 'duplicate_post_group', 'duplicate_post_show_submitbox');
40
  register_setting( 'duplicate_post_group', 'duplicate_post_show_bulkactions');
41
+ register_setting( 'duplicate_post_group', 'duplicate_post_show_notice');
42
  }
43
 
44
 
375
  </span>
376
  </td>
377
  </tr>
378
+ <tr valign="top">
379
+ <th scope="row"><?php esc_html_e("Show update notice", 'duplicate-post'); ?>
380
+ </th>
381
+ <td><input type="checkbox" name="duplicate_post_show_notice"
382
+ value="1" <?php if(get_option('duplicate_post_show_notice') == 1) echo 'checked="checked"'; ?>"/>
383
+ </td>
384
+ </tr>
385
  </table>
386
  </section>
387
  <p class="submit">
duplicate-post.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Duplicate Post
4
  Plugin URI: http://lopo.it/duplicate-post-plugin/
5
  Description: Clone posts and pages.
6
- Version: 3.1
7
  Author: Enrico Battocchi
8
  Author URI: http://lopo.it
9
  Text Domain: duplicate-post
@@ -31,7 +31,7 @@ if ( ! defined( 'ABSPATH' ) ) {
31
  }
32
 
33
  // Version of the plugin
34
- define('DUPLICATE_POST_CURRENT_VERSION', '3.1' );
35
 
36
 
37
  /**
3
  Plugin Name: Duplicate Post
4
  Plugin URI: http://lopo.it/duplicate-post-plugin/
5
  Description: Clone posts and pages.
6
+ Version: 3.1.1
7
  Author: Enrico Battocchi
8
  Author URI: http://lopo.it
9
  Text Domain: duplicate-post
31
  }
32
 
33
  // Version of the plugin
34
+ define('DUPLICATE_POST_CURRENT_VERSION', '3.1.1' );
35
 
36
 
37
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://lopo.it/duplicate-post-plugin/
4
  Tags: duplicate post, copy, clone
5
  Requires at least: 3.6
6
  Tested up to: 4.7
7
- Stable tag: 3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -87,6 +87,9 @@ If Duplicate Post is still in English, or if there are some untraslated strings,
87
 
88
  == Upgrade Notice ==
89
 
 
 
 
90
  = 3.1 =
91
  Bulk clone + custom field wildcards + other features + bugfixes
92
 
@@ -140,6 +143,9 @@ New features and customization, WP 3.0 compatibility: you should upgrade if you
140
 
141
  == Changelog ==
142
 
 
 
 
143
  = 3.1 =
144
  * Bulk clone action added (WP 4.7+)
145
  * Wildcards enabled for custom fields to skip
4
  Tags: duplicate post, copy, clone
5
  Requires at least: 3.6
6
  Tested up to: 4.7
7
+ Stable tag: 3.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
87
 
88
  == Upgrade Notice ==
89
 
90
+ = 3.1.1 =
91
+ Bulk clone + custom field wildcards + other features + bugfixes + fix for nasty nag
92
+
93
  = 3.1 =
94
  Bulk clone + custom field wildcards + other features + bugfixes
95
 
143
 
144
  == Changelog ==
145
 
146
+ = 3.1.1 =
147
+ * Fix for nasty update nag (plus a failsafe checkbox)
148
+
149
  = 3.1 =
150
  * Bulk clone action added (WP 4.7+)
151
  * Wildcards enabled for custom fields to skip