Version Description
- Applied improvements that depends on user performance data
Download this release
Release Info
Developer | iclyde |
Plugin | Duplicate Post |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- copy-delete-posts.php +2 -2
- post/handler.php +3 -3
- readme.txt +6 -8
copy-delete-posts.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Copy & Delete Posts
|
5 |
* Plugin URI: https://copy-delete-posts.com
|
6 |
* Description: The best solution to easily make duplicates of your posts & pages, and delete them in one go.
|
7 |
-
* Version: 1.2.
|
8 |
* Author: Copy Delete Posts
|
9 |
* Author URI: https://copy-delete-posts.com/
|
10 |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
@@ -30,7 +30,7 @@ analyst_init(array(
|
|
30 |
* @since 1.0.0
|
31 |
*/
|
32 |
// Plugin constants
|
33 |
-
define('CDP_VERSION', '1.2.
|
34 |
define('CDP_WP_VERSION', get_bloginfo('version'));
|
35 |
define('CDP_SCRIPT_DEBUG', false);
|
36 |
define('CDP_ROOT_DIR', __DIR__);
|
4 |
* Plugin Name: Copy & Delete Posts
|
5 |
* Plugin URI: https://copy-delete-posts.com
|
6 |
* Description: The best solution to easily make duplicates of your posts & pages, and delete them in one go.
|
7 |
+
* Version: 1.2.3
|
8 |
* Author: Copy Delete Posts
|
9 |
* Author URI: https://copy-delete-posts.com/
|
10 |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
30 |
* @since 1.0.0
|
31 |
*/
|
32 |
// Plugin constants
|
33 |
+
define('CDP_VERSION', '1.2.3');
|
34 |
define('CDP_WP_VERSION', get_bloginfo('version'));
|
35 |
define('CDP_SCRIPT_DEBUG', false);
|
36 |
define('CDP_ROOT_DIR', __DIR__);
|
post/handler.php
CHANGED
@@ -440,7 +440,7 @@ function cdp_insert_new_post($areWePro = false) {
|
|
440 |
|
441 |
// Prepare data and insert filtered to results
|
442 |
foreach ($vals as $val)
|
443 |
-
|
444 |
|
445 |
} else {
|
446 |
|
@@ -885,8 +885,8 @@ function cdp_insert_new_post($areWePro = false) {
|
|
885 |
$isSlowPerf = false;
|
886 |
}
|
887 |
|
888 |
-
// Check if the copy time of one page was slower than 0.
|
889 |
-
if ($copyTimePerOne > 0.
|
890 |
$isSlowPerf = true;
|
891 |
}
|
892 |
|
440 |
|
441 |
// Prepare data and insert filtered to results
|
442 |
foreach ($vals as $val)
|
443 |
+
$prepared[] = array($meta => $val);
|
444 |
|
445 |
} else {
|
446 |
|
885 |
$isSlowPerf = false;
|
886 |
}
|
887 |
|
888 |
+
// Check if the copy time of one page was slower than 0.020 of second
|
889 |
+
if ($copyTimePerOne > 0.020) {
|
890 |
$isSlowPerf = true;
|
891 |
}
|
892 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: CopyDeletePosts, copydelete
|
|
3 |
Tags: Duplicate post, Copy posts, Copy pages, Duplicate posts, Duplicate pages, Clone posts, Clone pages, Delete posts, Delete pages, Duplicator, copy post, copy page
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.8.2
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv3
|
8 |
Requires PHP: 5.6
|
9 |
|
@@ -151,6 +151,9 @@ Copy Delete Posts WordPress plugin doesn’t store any site visitor information
|
|
151 |
|
152 |
== Changelog ==
|
153 |
|
|
|
|
|
|
|
154 |
= 1.2.2 =
|
155 |
* Tested up to WordPress 5.8.2
|
156 |
* Tested up to PHP 8.1
|
@@ -266,10 +269,5 @@ Copy Delete Posts WordPress plugin doesn’t store any site visitor information
|
|
266 |
* Initial release
|
267 |
|
268 |
== Upgrade Notice ==
|
269 |
-
= 1.2.
|
270 |
-
*
|
271 |
-
* Tested up to PHP 8.1
|
272 |
-
* Removed translation notices in the developer console
|
273 |
-
* Fixed localize script issues on front-end side
|
274 |
-
* Added new performance window after copy
|
275 |
-
* Fixed issues with gutenberg copy button
|
3 |
Tags: Duplicate post, Copy posts, Copy pages, Duplicate posts, Duplicate pages, Clone posts, Clone pages, Delete posts, Delete pages, Duplicator, copy post, copy page
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.8.2
|
6 |
+
Stable tag: 1.2.3
|
7 |
License: GPLv3
|
8 |
Requires PHP: 5.6
|
9 |
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
+
= 1.2.3 =
|
155 |
+
* Applied improvements that depends on user performance data
|
156 |
+
|
157 |
= 1.2.2 =
|
158 |
* Tested up to WordPress 5.8.2
|
159 |
* Tested up to PHP 8.1
|
269 |
* Initial release
|
270 |
|
271 |
== Upgrade Notice ==
|
272 |
+
= 1.2.3 =
|
273 |
+
* Applied improvements that depends on user performance data
|
|
|
|
|
|
|
|
|
|