Version Description
- Removed deactivation module
Download this release
Release Info
Developer | iclyde |
Plugin | Duplicate Post |
Version | 1.2.5 |
Comparing to | |
See all releases |
Code changes from version 1.2.4 to 1.2.5
- copy-delete-posts.php +11 -11
- readme.txt +6 -3
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__);
|
@@ -145,15 +145,15 @@ add_action('upgrader_process_complete', function () {
|
|
145 |
}
|
146 |
|
147 |
// Deactivation module
|
148 |
-
$cdp_plugin_path = trailingslashit(basename(CDP_ROOT_DIR)) . basename(CDP_ROOT_FILE);
|
149 |
-
if (isset($GLOBALS['IIEV_PLUGINS_DEACTIVATION'])) {
|
150 |
-
|
151 |
-
} else {
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
}
|
157 |
|
158 |
});
|
159 |
/** –– **/
|
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.5
|
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.5');
|
34 |
define('CDP_WP_VERSION', get_bloginfo('version'));
|
35 |
define('CDP_SCRIPT_DEBUG', false);
|
36 |
define('CDP_ROOT_DIR', __DIR__);
|
145 |
}
|
146 |
|
147 |
// Deactivation module
|
148 |
+
// $cdp_plugin_path = trailingslashit(basename(CDP_ROOT_DIR)) . basename(CDP_ROOT_FILE);
|
149 |
+
// if (isset($GLOBALS['IIEV_PLUGINS_DEACTIVATION'])) {
|
150 |
+
// if (is_array($GLOBALS['IIEV_PLUGINS_DEACTIVATION'])) $GLOBALS['IIEV_PLUGINS_DEACTIVATION'][] = $cdp_plugin_path;
|
151 |
+
// } else {
|
152 |
+
// if (!(class_exists('\Inisev\Subs\Inisev_Deactivation') || class_exists('Inisev\Subs\Inisev_Deactivation') || class_exists('Inisev_Deactivation'))) {
|
153 |
+
// require_once CDP_MODULES_DIR . 'deactivation' . DIRECTORY_SEPARATOR . 'deactivation.php';
|
154 |
+
// }
|
155 |
+
// $deactivation_module = new \Inisev\Subs\Inisev_Deactivation($cdp_plugin_path, CDP_ROOT_DIR, CDP_ROOT_FILE);
|
156 |
+
// }
|
157 |
|
158 |
});
|
159 |
/** –– **/
|
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.4 =
|
155 |
* Added deactivation module
|
156 |
|
@@ -272,5 +275,5 @@ Copy Delete Posts WordPress plugin doesn’t store any site visitor information
|
|
272 |
* Initial release
|
273 |
|
274 |
== Upgrade Notice ==
|
275 |
-
= 1.2.
|
276 |
-
*
|
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.5
|
7 |
License: GPLv3
|
8 |
Requires PHP: 5.6
|
9 |
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
+
= 1.2.5 =
|
155 |
+
* Removed deactivation module
|
156 |
+
|
157 |
= 1.2.4 =
|
158 |
* Added deactivation module
|
159 |
|
275 |
* Initial release
|
276 |
|
277 |
== Upgrade Notice ==
|
278 |
+
= 1.2.5 =
|
279 |
+
* Removed deactivation module
|