Version Description
Recommended if you have 3.0: fixes the upgrade bug
Download this release
Release Info
Developer | lopo |
Plugin | Duplicate Post |
Version | 3.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.0.1
- duplicate-post-admin.php +1 -1
- duplicate-post.php +2 -3
- readme.txt +14 -8
duplicate-post-admin.php
CHANGED
@@ -22,7 +22,7 @@ function duplicate_post_get_current_version() {
|
|
22 |
/**
|
23 |
* Plugin upgrade
|
24 |
*/
|
25 |
-
|
26 |
|
27 |
function duplicate_post_plugin_upgrade() {
|
28 |
$installed_version = duplicate_post_get_installed_version();
|
22 |
/**
|
23 |
* Plugin upgrade
|
24 |
*/
|
25 |
+
add_action('admin_init','duplicate_post_plugin_upgrade');
|
26 |
|
27 |
function duplicate_post_plugin_upgrade() {
|
28 |
$installed_version = duplicate_post_get_installed_version();
|
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.0
|
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.0' );
|
35 |
|
36 |
|
37 |
/**
|
@@ -56,5 +56,4 @@ if (is_admin()){
|
|
56 |
require_once (dirname(__FILE__).'/duplicate-post-admin.php');
|
57 |
}
|
58 |
|
59 |
-
register_activation_hook( __FILE__, 'duplicate_post_plugin_upgrade' );
|
60 |
?>
|
3 |
Plugin Name: Duplicate Post
|
4 |
Plugin URI: http://lopo.it/duplicate-post-plugin/
|
5 |
Description: Clone posts and pages.
|
6 |
+
Version: 3.0.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.0.1' );
|
35 |
|
36 |
|
37 |
/**
|
56 |
require_once (dirname(__FILE__).'/duplicate-post-admin.php');
|
57 |
}
|
58 |
|
|
|
59 |
?>
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== Duplicate Post ===
|
2 |
-
Contributors:
|
3 |
-
Donate link:
|
4 |
-
Tags:
|
5 |
-
Requires at least:
|
6 |
-
Tested up to:
|
7 |
-
Stable tag:
|
8 |
-
License:
|
9 |
-
License URI:
|
10 |
|
11 |
Clone posts and pages.
|
12 |
|
@@ -90,6 +90,9 @@ There is an open ticket in WordPress Trac, as other plugin developers too are in
|
|
90 |
|
91 |
== Upgrade Notice ==
|
92 |
|
|
|
|
|
|
|
93 |
= 3.0 =
|
94 |
Major redesign of the settings page + fine-tune options (what to copy, custom post types, etc.) + bugfixes and XSS prevention
|
95 |
|
@@ -131,6 +134,9 @@ New features and customization, WP 3.0 compatibility: you should upgrade if you
|
|
131 |
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
134 |
= 3.0 =
|
135 |
* Settings page redesigned
|
136 |
* More options to enable/disable copy of every part of a post
|
1 |
=== Duplicate Post ===
|
2 |
+
Contributors: lopo
|
3 |
+
Donate link: http://lopo.it/duplicate-post-plugin/
|
4 |
+
Tags: duplicate post, copy, clone
|
5 |
+
Requires at least: 3.4
|
6 |
+
Tested up to: 4.6
|
7 |
+
Stable tag: 3.0.1
|
8 |
+
License: GPLv2 or later
|
9 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
Clone posts and pages.
|
12 |
|
90 |
|
91 |
== Upgrade Notice ==
|
92 |
|
93 |
+
= 3.0.1 =
|
94 |
+
Recommended if you have 3.0: fixes the upgrade bug
|
95 |
+
|
96 |
= 3.0 =
|
97 |
Major redesign of the settings page + fine-tune options (what to copy, custom post types, etc.) + bugfixes and XSS prevention
|
98 |
|
134 |
|
135 |
== Changelog ==
|
136 |
|
137 |
+
= 3.0.1 =
|
138 |
+
* Fixes the issues for people upgrading from an older version
|
139 |
+
|
140 |
= 3.0 =
|
141 |
* Settings page redesigned
|
142 |
* More options to enable/disable copy of every part of a post
|