Post Duplicator - Version 2.4

Version Description

  • Cleaned up some code.
  • Updated localization code and files.
Download this release

Release Info

Developer metaphorcreations
Plugin Icon 128x128 Post Duplicator
Version 2.4
Comparing to
See all releases

Code changes from version 2.3 to 2.4

assets/js/pd-admin.js CHANGED
File without changes
includes/ajax.php CHANGED
File without changes
includes/edit.php CHANGED
File without changes
includes/functions.php CHANGED
File without changes
includes/scripts.php CHANGED
@@ -4,7 +4,7 @@ add_action( 'admin_enqueue_scripts', 'mtphr_post_duplicator_metaboxer_scripts' )
4
  /**
5
  * Load the metaboxer scripts
6
  *
7
- * @since 1.0
8
  */
9
  function mtphr_post_duplicator_metaboxer_scripts( $hook ) {
10
 
@@ -13,10 +13,6 @@ function mtphr_post_duplicator_metaboxer_scripts( $hook ) {
13
  // Load the style sheet
14
  wp_register_style( 'mtphr-post-duplicator-metaboxer', MTPHR_POST_DUPLICATOR_URL.'/metaboxer/metaboxer.css', false, MTPHR_POST_DUPLICATOR_VERSION );
15
  wp_enqueue_style( 'mtphr-post-duplicator-metaboxer' );
16
-
17
- // Load the jQuery
18
- //wp_register_script( 'mtphr-post-duplicator-metaboxer', MTPHR_POST_DUPLICATOR_URL.'/metaboxer/metaboxer.js', array('jquery'), MTPHR_POST_DUPLICATOR_VERSION, true );
19
- //wp_enqueue_script( 'mtphr-post-duplicator-metaboxer' );
20
  }
21
  }
22
 
4
  /**
5
  * Load the metaboxer scripts
6
  *
7
+ * @since 2.4
8
  */
9
  function mtphr_post_duplicator_metaboxer_scripts( $hook ) {
10
 
13
  // Load the style sheet
14
  wp_register_style( 'mtphr-post-duplicator-metaboxer', MTPHR_POST_DUPLICATOR_URL.'/metaboxer/metaboxer.css', false, MTPHR_POST_DUPLICATOR_VERSION );
15
  wp_enqueue_style( 'mtphr-post-duplicator-metaboxer' );
 
 
 
 
16
  }
17
  }
18
 
includes/settings.php CHANGED
File without changes
languages/post-duplicator-en_US.mo CHANGED
Binary file
languages/post-duplicator-en_US.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Post Duplicator v2.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-02-07 20:29:35+0000\n"
7
  "Last-Translator: admin <joe@metaphorcreations.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -100,8 +100,3 @@ msgstr ""
100
  msgid "Post Duplicator Settings"
101
  msgstr ""
102
 
103
- #: metaboxer/metaboxer.php:943
104
- #@ post-duplicator
105
- msgid "Select Code"
106
- msgstr ""
107
-
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Post Duplicator v2.4\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2014-08-25 19:02:54+0000\n"
7
  "Last-Translator: admin <joe@metaphorcreations.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
100
  msgid "Post Duplicator Settings"
101
  msgstr ""
102
 
 
 
 
 
 
m4c-postduplicator.js CHANGED
File without changes
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.3
6
  Author: Metaphor Creations
7
  Author URI: http://www.metaphorcreations.com
8
  License: GPL2
@@ -29,11 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
 
30
 
31
  /**Define Widget Constants */
32
- if ( WP_DEBUG ) {
33
- define ( 'MTPHR_POST_DUPLICATOR_VERSION', '2.3-'.time() );
34
- } else {
35
- define ( 'MTPHR_POST_DUPLICATOR_VERSION', '2.3' );
36
- }
37
  define ( 'MTPHR_POST_DUPLICATOR_DIR', plugin_dir_path(__FILE__) );
38
  define ( 'MTPHR_POST_DUPLICATOR_URL', plugins_url().'/post-duplicator' );
39
 
@@ -44,10 +40,10 @@ add_action( 'plugins_loaded', 'mtphr_post_duplicator_localization' );
44
  /**
45
  * Setup localization
46
  *
47
- * @since 2.1.2
48
  */
49
  function mtphr_post_duplicator_localization() {
50
- load_plugin_textdomain( 'post-duplicator', false, MTPHR_POST_DUPLICATOR_DIR.'/languages/' );
51
  }
52
 
53
 
2
  /*
3
  Plugin Name: Post Duplicator
4
  Description: Creates functionality to duplicate any and all post types, including taxonomies & custom fields
5
+ Version: 2.4
6
  Author: Metaphor Creations
7
  Author URI: http://www.metaphorcreations.com
8
  License: GPL2
29
 
30
 
31
  /**Define Widget Constants */
32
+ define ( 'MTPHR_POST_DUPLICATOR_VERSION', '2.4' );
 
 
 
 
33
  define ( 'MTPHR_POST_DUPLICATOR_DIR', plugin_dir_path(__FILE__) );
34
  define ( 'MTPHR_POST_DUPLICATOR_URL', plugins_url().'/post-duplicator' );
35
 
40
  /**
41
  * Setup localization
42
  *
43
+ * @since 2.4
44
  */
45
  function mtphr_post_duplicator_localization() {
46
+ load_plugin_textdomain( 'post-duplicator', false, 'post-duplicator/languages/' );
47
  }
48
 
49
 
metaboxer/images/attachment-audio.png CHANGED
File without changes
metaboxer/images/attachment-delete.png CHANGED
File without changes
metaboxer/images/attachment-image.png CHANGED
File without changes
metaboxer/images/attachment-preview.png CHANGED
File without changes
metaboxer/images/attachment-settings.png CHANGED
File without changes
metaboxer/images/attachment-video.png CHANGED
File without changes
metaboxer/images/attachment-vimeo.png CHANGED
File without changes
metaboxer/images/attachment-youtube.png CHANGED
File without changes
metaboxer/metaboxer-class.php CHANGED
File without changes
metaboxer/metaboxer.css CHANGED
File without changes
metaboxer/metaboxer.js CHANGED
File without changes
metaboxer/metaboxer.php CHANGED
File without changes
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: metaphorcreations
3
  Tags: posts, post, duplicate, duplication
4
  Requires at least: 3.0
5
- Tested up to: 3.5.1
6
  Stable tag: /trunk/
7
  License: GPL2
8
 
@@ -41,6 +41,10 @@ Check out the 'Installation' tab.
41
 
42
  == Changelog ==
43
 
 
 
 
 
44
  = 2.2 =
45
  * Updated metaboxer code.
46
 
@@ -59,4 +63,8 @@ Code updates.
59
  Upgrade Post Duplicator to add 'post status' and 'date' options to your duplicated posts.
60
 
61
  = 1.1 =
62
- Must upgrade in order for the plugin to work. The file paths where initially wrong as the plugin upload created a different directory name.
 
 
 
 
2
  Contributors: metaphorcreations
3
  Tags: posts, post, duplicate, duplication
4
  Requires at least: 3.0
5
+ Tested up to: 3.9.2
6
  Stable tag: /trunk/
7
  License: GPL2
8
 
41
 
42
  == Changelog ==
43
 
44
+ = 2.4 =
45
+ * Cleaned up some code.
46
+ * Updated localization code and files.
47
+
48
  = 2.2 =
49
  * Updated metaboxer code.
50
 
63
  Upgrade Post Duplicator to add 'post status' and 'date' options to your duplicated posts.
64
 
65
  = 1.1 =
66
+ Must upgrade in order for the plugin to work. The file paths where initially wrong as the plugin upload created a different directory name.
67
+
68
+ == Upgrade Notice ==
69
+
70
+ Code cleanup and localization updates.
screenshot-1.png CHANGED
File without changes
screenshot-2.png CHANGED
File without changes