WP Bulk Delete - Version 1.2.1

Version Description

  • FIXED: jQuery DateTimePicker Error
Download this release

Release Info

Developer xylus
Plugin Icon 128x128 WP Bulk Delete
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

README.txt CHANGED
@@ -4,16 +4,16 @@ Donate link: http://xylusthemes.com
4
  Tags: delete, bulk, clean, bulk delete, bulk clean, posts delete, delete all, mass delete, posts delete, delete posts, delete comments, delete users, delete meta, delete taxonomy, delete revision, wp clean, clean trash, bulk user delete, delete all, delete all users, delete all comments, delete all posts, trash, clean spam, delete with condition, delete with filter, remove
5
  Requires at least: 3.9
6
  Requires PHP: 5.3
7
- Tested up to: 5.5
8
- Stable tag: 1.2.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- Delete posts, pages, comments, attachments, users, taxonomy terms and meta fields in bulk with different powerful filters and conditions.
13
 
14
  == Description ==
15
 
16
- WP Bulk Delete is a WordPress Plugin that allows you to delete posts, pages, comments, attachments, users, taxonomy terms and meta fields in bulk based with different powerful filters and conditions. WP bulk delete helps in finding and mass deleting unnecessary data clean up. It also helps in imporving Speed and reducing database load.
17
 
18
 
19
  ###Powerfull Features
@@ -78,11 +78,7 @@ WP bulk Delete support below powerfull conditions and filters.
78
  * Delete User meta fields
79
  * Delete Comment meta fields
80
  * Delete Taxonomy terms
81
-
82
-
83
- #### Deleting Attachments
84
-
85
- * Delete Attachments
86
 
87
  #### Database Cleanup
88
 
@@ -168,6 +164,9 @@ We are working on providing more options :)
168
 
169
  == Changelog ==
170
 
 
 
 
171
  = 1.2.0 =
172
  * ADDED: Scheduled Delete
173
  * ADDED: Multiple options in date range
4
  Tags: delete, bulk, clean, bulk delete, bulk clean, posts delete, delete all, mass delete, posts delete, delete posts, delete comments, delete users, delete meta, delete taxonomy, delete revision, wp clean, clean trash, bulk user delete, delete all, delete all users, delete all comments, delete all posts, trash, clean spam, delete with condition, delete with filter, remove
5
  Requires at least: 3.9
6
  Requires PHP: 5.3
7
+ Tested up to: 5.7
8
+ Stable tag: 1.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ Delete posts, pages, comments, users, taxonomy terms and meta fields in bulk with different powerful filters and conditions.
13
 
14
  == Description ==
15
 
16
+ WP Bulk Delete is a WordPress Plugin that allows you to delete posts, pages, comments, users, taxonomy terms and meta fields in bulk based with different powerful filters and conditions. WP bulk delete helps in finding and mass deleting unnecessary data clean up. It also helps in imporving Speed and reducing database load.
17
 
18
 
19
  ###Powerfull Features
78
  * Delete User meta fields
79
  * Delete Comment meta fields
80
  * Delete Taxonomy terms
81
+
 
 
 
 
82
 
83
  #### Database Cleanup
84
 
164
 
165
  == Changelog ==
166
 
167
+ = 1.2.1 =
168
+ * FIXED: jQuery DateTimePicker Error
169
+
170
  = 1.2.0 =
171
  * ADDED: Scheduled Delete
172
  * ADDED: Multiple options in date range
assets/css/images/ui-icons_444444_256x240.png ADDED
Binary file
assets/css/images/ui-icons_555555_256x240.png ADDED
Binary file
assets/css/images/ui-icons_777620_256x240.png ADDED
Binary file
assets/css/images/ui-icons_777777_256x240.png ADDED
Binary file
assets/css/images/ui-icons_cc0000_256x240.png ADDED
Binary file
assets/css/images/ui-icons_ffffff_256x240.png ADDED
Binary file
includes/scripts.php CHANGED
@@ -22,15 +22,16 @@ if ( ! defined( 'ABSPATH' ) ) exit;
22
  * @return void
23
  */
24
  function wpbd_enqueue_admin_scripts( $hook ) {
25
-
26
- $js_dir = WPBD_PLUGIN_URL . 'assets/js/';
27
- wp_register_script( 'jquery-chosen', $js_dir . 'chosen.jquery.min.js', array('jquery'), WPBD_VERSION );
28
- wp_register_script( 'jquery-ui-timepicker-addon', $js_dir . 'jquery-ui-timepicker-addon.min.js', array('jquery'), WPBD_VERSION );
29
- wp_register_script( 'wp-bulk-delete', $js_dir . 'wp-bulk-delete-admin.js', array('jquery', 'jquery-ui-core', 'jquery-ui-datepicker'), WPBD_VERSION );
30
- wp_enqueue_script( 'jquery-chosen' );
31
- wp_enqueue_script( 'jquery-ui-timepicker-addon' );
32
- wp_enqueue_script( 'wp-bulk-delete' );
33
-
 
34
  }
35
 
36
  /**
22
  * @return void
23
  */
24
  function wpbd_enqueue_admin_scripts( $hook ) {
25
+ $page = isset( $_GET['page'] ) ? sanitize_text_field( $_GET['page'] ) : '';
26
+ if( 'delete_all_posts' == $page || 'delete_all_comments' == $page || 'delete_all_users' == $page || 'delete_all_meta' == $page || 'wpbd_delete_terms' == $page || 'wpbd_cleanup' == $page || 'wpbd_support' == $page || 'wpbd_schedule' == $page ){
27
+ $js_dir = WPBD_PLUGIN_URL . 'assets/js/';
28
+ wp_register_script( 'jquery-chosen', $js_dir . 'chosen.jquery.min.js', array('jquery'), WPBD_VERSION );
29
+ wp_register_script( 'wp-bulk-delete', $js_dir . 'wp-bulk-delete-admin.js', array('jquery', 'jquery-ui-core', 'jquery-ui-datepicker'), WPBD_VERSION );
30
+ wp_register_script( 'jquery-ui-timepicker-addon', $js_dir . 'jquery-ui-timepicker-addon.min.js', array('jquery', 'jquery-ui-core', 'jquery-ui-datepicker'), WPBD_VERSION );
31
+ wp_enqueue_script( 'jquery-chosen' );
32
+ wp_enqueue_script( 'jquery-ui-timepicker-addon' );
33
+ wp_enqueue_script( 'wp-bulk-delete' );
34
+ }
35
  }
36
 
37
  /**
languages/wp-bulk-delete.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the WP Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP Bulk Delete 1.2.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-bulk-delete\n"
7
  "POT-Creation-Date: 2020-11-19 17:52:12+00:00\n"
8
  "MIME-Version: 1.0\n"
@@ -12,7 +12,7 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #. #-#-#-#-# wp-bulk-delete.pot (WP Bulk Delete 1.2.0) #-#-#-#-#
16
  #. Plugin Name of the plugin/theme
17
  #: includes/admin/admin-pages.php:23
18
  msgid "WP Bulk Delete"
2
  # This file is distributed under the same license as the WP Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Bulk Delete 1.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-bulk-delete\n"
7
  "POT-Creation-Date: 2020-11-19 17:52:12+00:00\n"
8
  "MIME-Version: 1.0\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #. #-#-#-#-# wp-bulk-delete.pot (WP Bulk Delete 1.2.1) #-#-#-#-#
16
  #. Plugin Name of the plugin/theme
17
  #: includes/admin/admin-pages.php:23
18
  msgid "WP Bulk Delete"
wp-bulk-delete.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Bulk Delete
4
  * Plugin URI: http://xylusthemes.com/plugins/wp-bulk-delete/
5
  * Description: Bulk delete and cleanup anything like posts, comments, users, meta fields, taxonomy terms. with powerful filter options.
6
- * Version: 1.2.0
7
  * Author: Xylus Themes
8
  * Author URI: http://xylusthemes.com
9
  * License: GPL-2.0+
@@ -71,14 +71,14 @@ class WP_Bulk_Delete{
71
  *
72
  * @since 1.0.0
73
  */
74
- public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'wp-bulk-delete' ), '1.2.0' ); }
75
 
76
  /**
77
  * A dummy magic method to prevent WP_Bulk_Delete from being unserialized.
78
  *
79
  * @since 1.0.0
80
  */
81
- public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'wp-bulk-delete' ), '1.2.0' ); }
82
 
83
 
84
  /**
@@ -92,7 +92,7 @@ class WP_Bulk_Delete{
92
 
93
  // Plugin version.
94
  if( ! defined( 'WPBD_VERSION' ) ){
95
- define( 'WPBD_VERSION', '1.2.0' );
96
  }
97
 
98
  // Plugin folder Path.
3
  * Plugin Name: WP Bulk Delete
4
  * Plugin URI: http://xylusthemes.com/plugins/wp-bulk-delete/
5
  * Description: Bulk delete and cleanup anything like posts, comments, users, meta fields, taxonomy terms. with powerful filter options.
6
+ * Version: 1.2.1
7
  * Author: Xylus Themes
8
  * Author URI: http://xylusthemes.com
9
  * License: GPL-2.0+
71
  *
72
  * @since 1.0.0
73
  */
74
+ public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'wp-bulk-delete' ), '1.2.1' ); }
75
 
76
  /**
77
  * A dummy magic method to prevent WP_Bulk_Delete from being unserialized.
78
  *
79
  * @since 1.0.0
80
  */
81
+ public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'wp-bulk-delete' ), '1.2.1' ); }
82
 
83
 
84
  /**
92
 
93
  // Plugin version.
94
  if( ! defined( 'WPBD_VERSION' ) ){
95
+ define( 'WPBD_VERSION', '1.2.1' );
96
  }
97
 
98
  // Plugin folder Path.