Bulk Delete - Version 5.1

Version Description

Added the ability to delete posts and pages from trash

Download this release

Release Info

Developer sudar
Plugin Icon 128x128 Bulk Delete
Version 5.1
Comparing to
See all releases

Code changes from version 5.0.2 to 5.1

bulk-delete.php CHANGED
@@ -5,7 +5,7 @@ Plugin Script: bulk-delete.php
5
  Plugin URI: http://bulkwp.com
6
  Description: Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
7
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
8
- Version: 5.0.2
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
@@ -36,7 +36,7 @@ Check readme file for full release notes
36
  * @package Bulk_Delete
37
  * @subpackage core
38
  * @author Sudar
39
- * @version 5.0.2
40
  */
41
 
42
  // Exit if accessed directly
@@ -56,7 +56,7 @@ final class Bulk_Delete {
56
  */
57
  private static $instance;
58
 
59
- const VERSION = '5.0.2';
60
 
61
  // page slugs
62
  const POSTS_PAGE_SLUG = 'bulk-delete-posts';
@@ -95,9 +95,11 @@ final class Bulk_Delete {
95
  const BOX_CUSTOM_FIELD = 'bd_by_custom_field';
96
  const BOX_TITLE = 'bd_by_title';
97
  const BOX_DUPLICATE_TITLE = 'bd_by_duplicate_title';
 
98
 
99
  // meta boxes for delete pages
100
  const BOX_PAGE_STATUS = 'bd_by_page_status';
 
101
 
102
  // meta boxes for delete users
103
  const BOX_USERS = 'bdu_by_users';
@@ -206,6 +208,7 @@ final class Bulk_Delete {
206
  require_once self::$PLUGIN_DIR . '/include/class-bd-edd-api-wrapper.php';
207
  require_once self::$PLUGIN_DIR . '/include/class-bd-settings.php';
208
  require_once self::$PLUGIN_DIR . '/include/admin-ui.php';
 
209
  }
210
 
211
  /**
@@ -237,12 +240,12 @@ final class Bulk_Delete {
237
  function add_menu() {
238
  add_menu_page( __( 'Bulk Delete', 'bulk-delete' ) , __( 'Bulk Delete', 'bulk-delete' ), 'manage_options', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ), 'dashicons-trash', '26.9966' );
239
 
240
- $this->posts_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Posts', 'bulk-delete' ), __( 'Bulk Delete Posts', 'bulk-delete' ), 'delete_posts', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ) );
241
- $this->pages_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Pages', 'bulk-delete' ), __( 'Bulk Delete Pages', 'bulk-delete' ), 'delete_pages', self::PAGES_PAGE_SLUG, array( &$this, 'display_pages_page' ) );
242
- $this->users_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Users', 'bulk-delete' ), __( 'Bulk Delete Users', 'bulk-delete' ), 'delete_users', self::USERS_PAGE_SLUG, array( &$this, 'display_users_page' ) );
243
- $this->cron_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Schedules', 'bulk-delete' ), __( 'Schedules', 'bulk-delete' ), 'delete_posts', self::CRON_PAGE_SLUG, array( &$this, 'display_cron_page' ) );
244
- $this->addon_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Addon Licenses', 'bulk-delete' ), __( 'Addon Licenses', 'bulk-delete' ), 'activate_plugins', self::ADDON_PAGE_SLUG, array( 'BD_License', 'display_addon_page' ) );
245
- $this->info_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete System Info', 'bulk-delete' ), __( 'System Info', 'bulk-delete' ), 'manage_options', self::INFO_PAGE_SLUG, array( 'Bulk_Delete_System_Info', 'display_system_info' ) );
246
 
247
  // enqueue JavaScript
248
  add_action( 'admin_print_scripts-' . $this->posts_page, array( &$this, 'add_script') );
@@ -268,30 +271,11 @@ final class Bulk_Delete {
268
  function add_delete_posts_settings_panel() {
269
 
270
  /**
271
- * Create the WP_Screen object using page handle
272
- */
273
- $this->delete_posts_screen = WP_Screen::get($this->posts_page);
274
-
275
- /**
276
- * Content specified inline
277
  */
278
- $this->delete_posts_screen->add_help_tab(
279
- array(
280
- 'title' => __('About Plugin', 'bulk-delete'),
281
- 'id' => 'about_tab',
282
- 'content' => '<p>' . __('This plugin allows you to delete posts in bulk from selected categories, tags, custom taxonomies or by post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete') . '</p>',
283
- 'callback' => false
284
- )
285
- );
286
-
287
- // Add help sidebar
288
- $this->delete_posts_screen->set_help_sidebar(
289
- '<p><strong>' . __('More information', 'bulk-delete') . '</strong></p>' .
290
- '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete">' . __('Plugin Homepage/support', 'bulk-delete') . '</a></p>' .
291
- '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons">' . __("Buy pro addons", 'bulk-delete') . '</a></p>' .
292
- '<p><a href = "http://sudarmuthu.com/blog">' . __("Plugin author's blog", 'bulk-delete') . '</a></p>' .
293
- '<p><a href = "http://sudarmuthu.com/wordpress/">' . __("Other Plugin's by Author", 'bulk-delete') . '</a></p>'
294
- );
295
 
296
  /* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
297
  do_action('add_meta_boxes_' . $this->posts_page, null);
@@ -305,16 +289,17 @@ final class Bulk_Delete {
305
  * Register meta boxes for delete posts page
306
  */
307
  function add_delete_posts_meta_boxes() {
308
- add_meta_box( self::BOX_POST_STATUS, __( 'By Post Status', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_status_box', $this->posts_page, 'advanced' );
309
- add_meta_box( self::BOX_CATEGORY, __( 'By Category', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_category_box', $this->posts_page, 'advanced' );
310
- add_meta_box( self::BOX_TAG, __( 'By Tag', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_tag_box', $this->posts_page, 'advanced' );
311
- add_meta_box( self::BOX_TAX, __( 'By Custom Taxonomy', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_taxonomy_box', $this->posts_page, 'advanced' );
312
- add_meta_box( self::BOX_POST_TYPE, __( 'By Custom Post Types', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_post_type_box', $this->posts_page, 'advanced' );
313
- add_meta_box( self::BOX_URL, __( 'By URL', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_url_box', $this->posts_page, 'advanced' );
314
- add_meta_box( self::BOX_POST_REVISION, __( 'By Post Revision', 'bulk-delete' ), 'Bulk_Delete_Posts::render_posts_by_revision_box', $this->posts_page, 'advanced' );
315
- add_meta_box( self::BOX_CUSTOM_FIELD, __( 'By Custom Field', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_custom_field_box', $this->posts_page, 'advanced' );
316
- add_meta_box( self::BOX_TITLE, __( 'By Title', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_title_box', $this->posts_page, 'advanced' );
317
- add_meta_box( self::BOX_DUPLICATE_TITLE, __( 'By Duplicate Title', 'bulk-delete' ), 'Bulk_Delete_Posts::render_delete_posts_by_duplicate_title_box', $this->posts_page, 'advanced' );
 
318
  }
319
 
320
  /**
@@ -325,30 +310,11 @@ final class Bulk_Delete {
325
  function add_delete_pages_settings_panel() {
326
 
327
  /**
328
- * Create the WP_Screen object using page handle
 
 
329
  */
330
- $this->delete_pages_screen = WP_Screen::get( $this->pages_page );
331
-
332
- /**
333
- * Content specified inline
334
- */
335
- $this->delete_pages_screen->add_help_tab(
336
- array(
337
- 'title' => __('About Plugin', 'bulk-delete'),
338
- 'id' => 'about_tab',
339
- 'content' => '<p>' . __('This plugin allows you to delete posts in bulk from selected categories, tags, custom taxonomies or by post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete') . '</p>',
340
- 'callback' => false
341
- )
342
- );
343
-
344
- // Add help sidebar
345
- $this->delete_pages_screen->set_help_sidebar(
346
- '<p><strong>' . __('More information', 'bulk-delete') . '</strong></p>' .
347
- '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete">' . __('Plugin Homepage/support', 'bulk-delete') . '</a></p>' .
348
- '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons">' . __("Buy pro addons", 'bulk-delete') . '</a></p>' .
349
- '<p><a href = "http://sudarmuthu.com/blog">' . __("Plugin author's blog", 'bulk-delete') . '</a></p>' .
350
- '<p><a href = "http://sudarmuthu.com/wordpress/">' . __("Other Plugin's by Author", 'bulk-delete') . '</a></p>'
351
- );
352
 
353
  /* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
354
  do_action('add_meta_boxes_' . $this->pages_page, null);
@@ -364,7 +330,8 @@ final class Bulk_Delete {
364
  * @since 5.0
365
  */
366
  function add_delete_pages_meta_boxes() {
367
- add_meta_box( self::BOX_PAGE_STATUS, __( 'By Page status', 'bulk-delete' ), 'Bulk_Delete_Pages::render_delete_pages_by_status_box', $this->pages_page, 'advanced' );
 
368
  }
369
 
370
  /**
@@ -373,30 +340,11 @@ final class Bulk_Delete {
373
  function add_delete_users_settings_panel() {
374
 
375
  /**
376
- * Create the WP_Screen object using page handle
377
- */
378
- $this->delete_users_screen = WP_Screen::get( $this->users_page );
379
-
380
- /**
381
- * Content specified inline
382
  */
383
- $this->delete_users_screen->add_help_tab(
384
- array(
385
- 'title' => __('About Plugin', 'bulk-delete'),
386
- 'id' => 'about_tab',
387
- 'content' => '<p>' . __('This plugin allows you to delete posts in bulk from selected categories, tags, custom taxonomies or by post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete') . '</p>',
388
- 'callback' => false
389
- )
390
- );
391
-
392
- // Add help sidebar
393
- $this->delete_users_screen->set_help_sidebar(
394
- '<p><strong>' . __('More information', 'bulk-delete') . '</strong></p>' .
395
- '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete">' . __('Plugin Homepage/support', 'bulk-delete') . '</a></p>' .
396
- '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons">' . __("Buy pro addons", 'bulk-delete') . '</a></p>' .
397
- '<p><a href = "http://sudarmuthu.com/blog">' . __("Plugin author's blog", 'bulk-delete') . '</a></p>' .
398
- '<p><a href = "http://sudarmuthu.com/wordpress/">' . __("Other Plugin's by Author", 'bulk-delete') . '</a></p>'
399
- );
400
 
401
  /* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
402
  do_action('add_meta_boxes_' . $this->users_page, null);
5
  Plugin URI: http://bulkwp.com
6
  Description: Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
7
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
8
+ Version: 5.1
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
36
  * @package Bulk_Delete
37
  * @subpackage core
38
  * @author Sudar
39
+ * @version 5.1
40
  */
41
 
42
  // Exit if accessed directly
56
  */
57
  private static $instance;
58
 
59
+ const VERSION = '5.1';
60
 
61
  // page slugs
62
  const POSTS_PAGE_SLUG = 'bulk-delete-posts';
95
  const BOX_CUSTOM_FIELD = 'bd_by_custom_field';
96
  const BOX_TITLE = 'bd_by_title';
97
  const BOX_DUPLICATE_TITLE = 'bd_by_duplicate_title';
98
+ const BOX_POST_FROM_TRASH = 'bd_posts_from_trash';
99
 
100
  // meta boxes for delete pages
101
  const BOX_PAGE_STATUS = 'bd_by_page_status';
102
+ const BOX_PAGE_FROM_TRASH = 'bd_pages_from_trash';
103
 
104
  // meta boxes for delete users
105
  const BOX_USERS = 'bdu_by_users';
208
  require_once self::$PLUGIN_DIR . '/include/class-bd-edd-api-wrapper.php';
209
  require_once self::$PLUGIN_DIR . '/include/class-bd-settings.php';
210
  require_once self::$PLUGIN_DIR . '/include/admin-ui.php';
211
+ require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-help-screen.php';
212
  }
213
 
214
  /**
240
  function add_menu() {
241
  add_menu_page( __( 'Bulk Delete', 'bulk-delete' ) , __( 'Bulk Delete', 'bulk-delete' ), 'manage_options', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ), 'dashicons-trash', '26.9966' );
242
 
243
+ $this->posts_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Posts' , 'bulk-delete' ) , __( 'Bulk Delete Posts' , 'bulk-delete' ) , 'delete_posts' , self::POSTS_PAGE_SLUG , array( &$this , 'display_posts_page' ) );
244
+ $this->pages_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Pages' , 'bulk-delete' ) , __( 'Bulk Delete Pages' , 'bulk-delete' ) , 'delete_pages' , self::PAGES_PAGE_SLUG , array( &$this , 'display_pages_page' ) );
245
+ $this->users_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Users' , 'bulk-delete' ) , __( 'Bulk Delete Users' , 'bulk-delete' ) , 'delete_users' , self::USERS_PAGE_SLUG , array( &$this , 'display_users_page' ) );
246
+ $this->cron_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Schedules' , 'bulk-delete' ) , __( 'Schedules' , 'bulk-delete' ) , 'delete_posts' , self::CRON_PAGE_SLUG , array( &$this , 'display_cron_page' ) );
247
+ $this->addon_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Addon Licenses' , 'bulk-delete' ) , __( 'Addon Licenses' , 'bulk-delete' ) , 'activate_plugins' , self::ADDON_PAGE_SLUG , array( 'BD_License' , 'display_addon_page' ) );
248
+ $this->info_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete System Info' , 'bulk-delete' ) , __( 'System Info' , 'bulk-delete' ) , 'manage_options' , self::INFO_PAGE_SLUG , array( 'Bulk_Delete_System_Info' , 'display_system_info' ) );
249
 
250
  // enqueue JavaScript
251
  add_action( 'admin_print_scripts-' . $this->posts_page, array( &$this, 'add_script') );
271
  function add_delete_posts_settings_panel() {
272
 
273
  /**
274
+ * Add contextual help for admin screens
275
+ *
276
+ * @since 5.1
 
 
 
277
  */
278
+ do_action( 'bd_add_contextual_help', $this->posts_page );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
 
280
  /* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
281
  do_action('add_meta_boxes_' . $this->posts_page, null);
289
  * Register meta boxes for delete posts page
290
  */
291
  function add_delete_posts_meta_boxes() {
292
+ add_meta_box( self::BOX_POST_STATUS , __( 'By Post Status' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_status_box' , $this->posts_page , 'advanced' );
293
+ add_meta_box( self::BOX_CATEGORY , __( 'By Category' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_category_box' , $this->posts_page , 'advanced' );
294
+ add_meta_box( self::BOX_TAG , __( 'By Tag' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_tag_box' , $this->posts_page , 'advanced' );
295
+ add_meta_box( self::BOX_TAX , __( 'By Custom Taxonomy' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_taxonomy_box' , $this->posts_page , 'advanced' );
296
+ add_meta_box( self::BOX_POST_TYPE , __( 'By Custom Post Types' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_post_type_box' , $this->posts_page , 'advanced' );
297
+ add_meta_box( self::BOX_URL , __( 'By URL' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_url_box' , $this->posts_page , 'advanced' );
298
+ add_meta_box( self::BOX_POST_REVISION , __( 'By Post Revision' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_posts_by_revision_box' , $this->posts_page , 'advanced' );
299
+ add_meta_box( self::BOX_CUSTOM_FIELD , __( 'By Custom Field' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_custom_field_box' , $this->posts_page , 'advanced' );
300
+ add_meta_box( self::BOX_TITLE , __( 'By Title' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_title_box' , $this->posts_page , 'advanced' );
301
+ add_meta_box( self::BOX_DUPLICATE_TITLE , __( 'By Duplicate Title' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_duplicate_title_box' , $this->posts_page , 'advanced' );
302
+ add_meta_box( self::BOX_POST_FROM_TRASH , __( 'Posts in Trash' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_from_trash' , $this->posts_page , 'advanced' );
303
  }
304
 
305
  /**
310
  function add_delete_pages_settings_panel() {
311
 
312
  /**
313
+ * Add contextual help for admin screens
314
+ *
315
+ * @since 5.1
316
  */
317
+ do_action( 'bd_add_contextual_help', $this->pages_page );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
 
319
  /* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
320
  do_action('add_meta_boxes_' . $this->pages_page, null);
330
  * @since 5.0
331
  */
332
  function add_delete_pages_meta_boxes() {
333
+ add_meta_box( self::BOX_PAGE_STATUS , __( 'By Page status' , 'bulk-delete' ) , 'Bulk_Delete_Pages::render_delete_pages_by_status_box' , $this->pages_page , 'advanced' );
334
+ add_meta_box( self::BOX_PAGE_FROM_TRASH , __( 'Pages in Trash' , 'bulk-delete' ) , 'Bulk_Delete_Pages::render_delete_pages_from_trash' , $this->pages_page , 'advanced' );
335
  }
336
 
337
  /**
340
  function add_delete_users_settings_panel() {
341
 
342
  /**
343
+ * Add contextual help for admin screens
344
+ *
345
+ * @since 5.1
 
 
 
346
  */
347
+ do_action( 'bd_add_contextual_help', $this->users_page );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
 
349
  /* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
350
  do_action('add_meta_boxes_' . $this->users_page, null);
include/admin-ui.php CHANGED
@@ -43,9 +43,7 @@ function bd_modify_admin_footer() {
43
  * @return array $links Modified list of links
44
  */
45
  function bd_add_plugin_action_links( $links, $file ) {
46
- $bd = BULK_DELETE();
47
-
48
- $this_plugin = plugin_basename( $bd::$PLUGIN_FILE );
49
 
50
  if ( $file == $this_plugin ) {
51
  $delete_users_link = '<a href="admin.php?page=' . Bulk_Delete::USERS_PAGE_SLUG . '">' . __( 'Bulk Delete Users', 'bulk-delete' ) . '</a>';
@@ -67,9 +65,7 @@ function bd_add_plugin_action_links( $links, $file ) {
67
  * @return array $links Modified list of links
68
  */
69
  function bd_add_links_in_plugin_listing( $links, $file ) {
70
- $bd = BULK_DELETE();
71
-
72
- $plugin = plugin_basename( $bd::$PLUGIN_FILE );
73
 
74
  if ( $file == $plugin ) { // only for this plugin
75
  return array_merge( $links, array(
43
  * @return array $links Modified list of links
44
  */
45
  function bd_add_plugin_action_links( $links, $file ) {
46
+ $this_plugin = plugin_basename( Bulk_Delete::$PLUGIN_FILE );
 
 
47
 
48
  if ( $file == $this_plugin ) {
49
  $delete_users_link = '<a href="admin.php?page=' . Bulk_Delete::USERS_PAGE_SLUG . '">' . __( 'Bulk Delete Users', 'bulk-delete' ) . '</a>';
65
  * @return array $links Modified list of links
66
  */
67
  function bd_add_links_in_plugin_listing( $links, $file ) {
68
+ $plugin = plugin_basename( Bulk_Delete::$PLUGIN_FILE );
 
 
69
 
70
  if ( $file == $plugin ) { // only for this plugin
71
  return array_merge( $links, array(
include/class-bd-license-handler.php CHANGED
@@ -128,14 +128,12 @@ class BD_License_Handler {
128
  */
129
  public function add_license_field() {
130
  if ( ! BD_License::has_valid_license( $this->addon_name, $this->addon_code ) ) {
131
- $bd = BULK_DELETE();
132
-
133
  add_settings_field(
134
  $this->addon_code, // ID
135
  '"' . $this->addon_name . '" ' . __( 'Addon License Key', 'bulk-delete' ), // Title
136
  array( &$this, 'print_license_key_field' ), // Callback
137
- $bd::ADDON_PAGE_SLUG, // Page
138
- $bd::SETTING_SECTION_ID // Section
139
  );
140
  }
141
  }
@@ -147,12 +145,10 @@ class BD_License_Handler {
147
  */
148
  public function print_license_key_field() {
149
  if ( ! BD_License::has_valid_license( $this->addon_name, $this->addon_code ) ) {
150
- $bd = BULK_DELETE();
151
-
152
  printf(
153
  '<input type="text" id="%s" name="%s[%s]" placeholder="%s">',
154
  $this->addon_code,
155
- $bd::SETTING_OPTION_NAME,
156
  $this->addon_code,
157
  __( 'Enter license key', 'bulk-delete' )
158
  );
128
  */
129
  public function add_license_field() {
130
  if ( ! BD_License::has_valid_license( $this->addon_name, $this->addon_code ) ) {
 
 
131
  add_settings_field(
132
  $this->addon_code, // ID
133
  '"' . $this->addon_name . '" ' . __( 'Addon License Key', 'bulk-delete' ), // Title
134
  array( &$this, 'print_license_key_field' ), // Callback
135
+ Bulk_Delete::ADDON_PAGE_SLUG, // Page
136
+ Bulk_Delete::SETTING_SECTION_ID // Section
137
  );
138
  }
139
  }
145
  */
146
  public function print_license_key_field() {
147
  if ( ! BD_License::has_valid_license( $this->addon_name, $this->addon_code ) ) {
 
 
148
  printf(
149
  '<input type="text" id="%s" name="%s[%s]" placeholder="%s">',
150
  $this->addon_code,
151
+ Bulk_Delete::SETTING_OPTION_NAME,
152
  $this->addon_code,
153
  __( 'Enter license key', 'bulk-delete' )
154
  );
include/class-bd-license.php CHANGED
@@ -58,8 +58,8 @@ class BD_License {
58
  $bd = BULK_DELETE();
59
  if ( isset( $bd->display_activate_license_form ) && TRUE == $bd->display_activate_license_form ) {
60
  // This prints out all hidden setting fields
61
- settings_fields( $bd::SETTING_OPTION_GROUP );
62
- do_settings_sections( $bd::ADDON_PAGE_SLUG );
63
  submit_button( __( 'Activate License', 'bulk-delete' ) );
64
  }
65
  }
@@ -74,14 +74,13 @@ class BD_License {
74
  * @return bool True if addon has a valid license, False otherwise
75
  */
76
  public static function has_valid_license( $addon_name, $addon_code ) {
77
- $bd = BULK_DELETE();
78
  $key = Bulk_Delete::LICENSE_CACHE_KEY_PREFIX . $addon_code;
79
  $license_data = get_option( $key, FALSE );
80
 
81
  if ( ! $license_data ) {
82
  // if data about license is not present, then fetch it.
83
  // ideally this should not happen
84
- $licenses = get_option( $bd::SETTING_OPTION_NAME );
85
  if ( is_array( $licenses ) && key_exists( $addon_code, $licenses ) ) {
86
  $license_data = BD_EDD_API_Wrapper::check_license( $addon_name, $licenses[ $addon_code ] );
87
  update_option( $key, $license_data );
@@ -111,8 +110,7 @@ class BD_License {
111
  * @return array $license_data License information
112
  */
113
  public static function get_licenses() {
114
- $bd = BULK_DELETE();
115
- $licenses = get_option( $bd::SETTING_OPTION_NAME );
116
  $license_data = array();
117
 
118
  if ( is_array( $licenses ) ) {
@@ -160,8 +158,7 @@ class BD_License {
160
  * @return bool|string License code of the addon, False otherwise
161
  */
162
  public static function get_license_code( $addon_code ) {
163
- $bd = BULK_DELETE();
164
- $licenses = get_option( $bd::SETTING_OPTION_NAME );
165
 
166
  if ( is_array($licenses ) && key_exists( $addon_code, $licenses ) ) {
167
  return $licenses[ $addon_code ];
@@ -179,7 +176,6 @@ class BD_License {
179
  */
180
  public static function deactivate_license() {
181
  if ( check_admin_referer( 'bd-deactivate-license', 'bd-deactivate-license-nonce' ) ) {
182
- $bd = BULK_DELETE();
183
  $msg = array( 'msg' => '', 'type' => 'error' );
184
  $addon_code = $_GET['addon-code'];
185
  $license_data = self::get_license( $addon_code );
@@ -200,7 +196,7 @@ class BD_License {
200
  }
201
 
202
  add_settings_error(
203
- $bd::ADDON_PAGE_SLUG,
204
  'license-deactivation',
205
  $msg['msg'],
206
  $msg['type']
@@ -216,7 +212,6 @@ class BD_License {
216
  */
217
  public static function delete_license() {
218
  if ( check_admin_referer( 'bd-deactivate-license', 'bd-deactivate-license-nonce' ) ) {
219
- $bd = BULK_DELETE();
220
  $msg = array( 'msg' => '', 'type' => 'updated' );
221
  $addon_code = $_GET['addon-code'];
222
 
@@ -225,7 +220,7 @@ class BD_License {
225
  $msg['msg'] = __( 'The license key was successfully deleted', 'bulk-delete' );
226
 
227
  add_settings_error(
228
- $bd::ADDON_PAGE_SLUG,
229
  'license-deleted',
230
  $msg['msg'],
231
  $msg['type']
@@ -264,7 +259,6 @@ class BD_License {
264
  */
265
  public static function activate_license( $addon_name, $addon_code, $license ) {
266
  $license_data = BD_EDD_API_Wrapper::activate_license( $addon_name, $license );
267
- $bd = BULK_DELETE();
268
  $valid = FALSE;
269
  $msg = array(
270
  'msg' => sprintf( __( 'There was some problem in contacting our store to activate the license key for "%s" addon', 'bulk-delete' ), $addon_name ),
@@ -305,7 +299,7 @@ class BD_License {
305
  }
306
 
307
  add_settings_error(
308
- $bd::ADDON_PAGE_SLUG,
309
  'license-activation',
310
  $msg['msg'],
311
  $msg['type']
@@ -382,6 +376,12 @@ class BD_License {
382
  echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
383
  echo '</li>';
384
 
 
 
 
 
 
 
385
  echo '<li>';
386
  echo '<strong>', __('Scheduler for deleting Posts by Category', 'bulk-delete'), '</strong>', ' - ';
387
  echo __('Adds the ability to schedule auto delete of posts based on category', 'bulk-delete');
58
  $bd = BULK_DELETE();
59
  if ( isset( $bd->display_activate_license_form ) && TRUE == $bd->display_activate_license_form ) {
60
  // This prints out all hidden setting fields
61
+ settings_fields( Bulk_Delete::SETTING_OPTION_GROUP );
62
+ do_settings_sections( Bulk_Delete::ADDON_PAGE_SLUG );
63
  submit_button( __( 'Activate License', 'bulk-delete' ) );
64
  }
65
  }
74
  * @return bool True if addon has a valid license, False otherwise
75
  */
76
  public static function has_valid_license( $addon_name, $addon_code ) {
 
77
  $key = Bulk_Delete::LICENSE_CACHE_KEY_PREFIX . $addon_code;
78
  $license_data = get_option( $key, FALSE );
79
 
80
  if ( ! $license_data ) {
81
  // if data about license is not present, then fetch it.
82
  // ideally this should not happen
83
+ $licenses = get_option( Bulk_Delete::SETTING_OPTION_NAME );
84
  if ( is_array( $licenses ) && key_exists( $addon_code, $licenses ) ) {
85
  $license_data = BD_EDD_API_Wrapper::check_license( $addon_name, $licenses[ $addon_code ] );
86
  update_option( $key, $license_data );
110
  * @return array $license_data License information
111
  */
112
  public static function get_licenses() {
113
+ $licenses = get_option( Bulk_Delete::SETTING_OPTION_NAME );
 
114
  $license_data = array();
115
 
116
  if ( is_array( $licenses ) ) {
158
  * @return bool|string License code of the addon, False otherwise
159
  */
160
  public static function get_license_code( $addon_code ) {
161
+ $licenses = get_option( Bulk_Delete::SETTING_OPTION_NAME );
 
162
 
163
  if ( is_array($licenses ) && key_exists( $addon_code, $licenses ) ) {
164
  return $licenses[ $addon_code ];
176
  */
177
  public static function deactivate_license() {
178
  if ( check_admin_referer( 'bd-deactivate-license', 'bd-deactivate-license-nonce' ) ) {
 
179
  $msg = array( 'msg' => '', 'type' => 'error' );
180
  $addon_code = $_GET['addon-code'];
181
  $license_data = self::get_license( $addon_code );
196
  }
197
 
198
  add_settings_error(
199
+ Bulk_Delete::ADDON_PAGE_SLUG,
200
  'license-deactivation',
201
  $msg['msg'],
202
  $msg['type']
212
  */
213
  public static function delete_license() {
214
  if ( check_admin_referer( 'bd-deactivate-license', 'bd-deactivate-license-nonce' ) ) {
 
215
  $msg = array( 'msg' => '', 'type' => 'updated' );
216
  $addon_code = $_GET['addon-code'];
217
 
220
  $msg['msg'] = __( 'The license key was successfully deleted', 'bulk-delete' );
221
 
222
  add_settings_error(
223
+ Bulk_Delete::ADDON_PAGE_SLUG,
224
  'license-deleted',
225
  $msg['msg'],
226
  $msg['type']
259
  */
260
  public static function activate_license( $addon_name, $addon_code, $license ) {
261
  $license_data = BD_EDD_API_Wrapper::activate_license( $addon_name, $license );
 
262
  $valid = FALSE;
263
  $msg = array(
264
  'msg' => sprintf( __( 'There was some problem in contacting our store to activate the license key for "%s" addon', 'bulk-delete' ), $addon_name ),
299
  }
300
 
301
  add_settings_error(
302
+ Bulk_Delete::ADDON_PAGE_SLUG,
303
  'license-activation',
304
  $msg['msg'],
305
  $msg['type']
376
  echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
377
  echo '</li>';
378
 
379
+ echo '<li>';
380
+ echo '<strong>', __( 'Delete from trash', 'bulk-delete' ), '</strong>', ' - ';
381
+ echo __( 'Adds the ability to delete posts and pages from trash', 'bulk-delete' );
382
+ echo ' <a href = "http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
383
+ echo '</li>';
384
+
385
  echo '<li>';
386
  echo '<strong>', __('Scheduler for deleting Posts by Category', 'bulk-delete'), '</strong>', ' - ';
387
  echo __('Adds the ability to schedule auto delete of posts based on category', 'bulk-delete');
include/class-bd-settings.php CHANGED
@@ -15,19 +15,17 @@ class BD_Settings {
15
  * @static
16
  */
17
  public static function create_settings() {
18
- $bd = BULK_DELETE();
19
-
20
  register_setting(
21
- $bd::SETTING_OPTION_GROUP, // Option group
22
- $bd::SETTING_OPTION_NAME, // Option name
23
- array( 'BD_Settings', 'check_license' ) // Sanitize
24
  );
25
 
26
  add_settings_section(
27
- $bd::SETTING_SECTION_ID, // ID
28
  __( 'Add Addon License', 'bulk-delete' ), // Title
29
  '__return_null', // Callback
30
- $bd::ADDON_PAGE_SLUG // Page
31
  );
32
 
33
  /**
15
  * @static
16
  */
17
  public static function create_settings() {
 
 
18
  register_setting(
19
+ Bulk_Delete::SETTING_OPTION_GROUP, // Option group
20
+ Bulk_Delete::SETTING_OPTION_NAME, // Option name
21
+ array( 'BD_Settings', 'check_license' ) // Sanitize
22
  );
23
 
24
  add_settings_section(
25
+ Bulk_Delete::SETTING_SECTION_ID, // ID
26
  __( 'Add Addon License', 'bulk-delete' ), // Title
27
  '__return_null', // Callback
28
+ Bulk_Delete::ADDON_PAGE_SLUG // Page
29
  );
30
 
31
  /**
include/class-bulk-delete-help-screen.php ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Bulk Delete Help Screen
4
+ *
5
+ * Displays the help tab on top of Bulk Delete Admin pages
6
+ *
7
+ * @package Bulk_Delete
8
+ * @subpackage Help
9
+ * @author Sudar
10
+ * @since 5.1
11
+ */
12
+ class Bulk_Delete_Help_Screen {
13
+
14
+ /**
15
+ * Add contextual help to admin screens
16
+ *
17
+ * @since 5.1
18
+ * @static
19
+ *
20
+ * @param string $screen Screen name
21
+ */
22
+ public static function add_contextual_help( $screen ) {
23
+ $help_tabs = self::get_help_tabs( $screen );
24
+
25
+ foreach ( $help_tabs as $help_tab ) {
26
+ get_current_screen()->add_help_tab( $help_tab );
27
+ }
28
+
29
+ // Add help sidebar
30
+ get_current_screen()->set_help_sidebar(
31
+ '<p><strong>' . __( 'More information', 'bulk-delete' ) . '</strong></p>' .
32
+ '<p><a href = "http://bulkwp.com/support/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=helptab">' . __( 'Support Forums', 'bulk-delete' ) . '</a></p>' .
33
+ '<p><a href = "http://bulkwp.com/addons/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=helptab">' . __( 'Buy pro addons', 'bulk-delete' ) . '</a></p>' .
34
+ '<p><a href = "http://sudarmuthu.com/blog">' . __( "Plugin author's blog", 'bulk-delete' ) . '</a></p>' .
35
+ '<p><a href = "http://sudarmuthu.com/wordpress/">' . __( "Other Plugin's by Author", 'bulk-delete' ) . '</a></p>'
36
+ );
37
+ }
38
+
39
+ /**
40
+ * Get the list of help tabs for a given screen
41
+ *
42
+ * @since 5.1
43
+ * @static
44
+ * @access private
45
+ *
46
+ * @param string $screen Screen name
47
+ * @return array $help_tabs List of tabs
48
+ */
49
+ private static function get_help_tabs( $screen ) {
50
+ $bd = BULK_DELETE();
51
+ $help_tabs = array();
52
+
53
+ switch ( $screen ) {
54
+ case $bd->posts_page:
55
+ $overview_tab = array(
56
+ 'title' => __( 'Overview', 'bulk-delete' ),
57
+ 'id' => 'overview_tab',
58
+ 'content' => '<p>' . __( 'This screen contains different modules that allows you to delete posts or schedule them for deletion.', 'bulk-delete' ) . '</p>',
59
+ 'callback' => FALSE
60
+ );
61
+
62
+ $help_tabs['overview_tab'] = $overview_tab;
63
+ break;
64
+
65
+ case $bd->pages_page:
66
+ // Overview tab
67
+ $overview_tab = array(
68
+ 'title' => __( 'Overview', 'bulk-delete' ),
69
+ 'id' => 'overview_tab',
70
+ 'content' => '<p>' . __( 'This screen contains different modules that allows you to delete pages or schedule them for deletion.', 'bulk-delete' ) . '</p>',
71
+ 'callback' => FALSE
72
+ );
73
+
74
+ $help_tabs['overview_tab'] = $overview_tab;
75
+ break;
76
+
77
+ case $bd->users_page:
78
+ // Overview tab
79
+ $overview_tab = array(
80
+ 'title' => __( 'Overview', 'bulk-delete' ),
81
+ 'id' => 'overview_tab',
82
+ 'content' => '<p>' . __( 'This screen contains different modules that allows you to delete users or schedule them for deletion.', 'bulk-delete' ) . '</p>',
83
+ 'callback' => FALSE
84
+ );
85
+
86
+ $help_tabs['overview_tab'] = $overview_tab;
87
+ break;
88
+ }
89
+
90
+ // about plugin tab
91
+ $about_plugin_tab = array(
92
+ 'title' => __( 'About Plugin', 'bulk-delete' ),
93
+ 'id' => 'about_plugin_tab',
94
+ 'content' => '',
95
+ 'callback' => array( 'Bulk_Delete_Help_Screen', 'print_about_plugin_tab_content' )
96
+ );
97
+
98
+ $help_tabs['about_plugin_tab'] = $about_plugin_tab;
99
+
100
+ /**
101
+ * Filters help tab content for admin screens
102
+ *
103
+ * @since 5.1
104
+ */
105
+ return apply_filters( 'bd_admin_help_tabs', $help_tabs, $screen );
106
+ }
107
+
108
+ /**
109
+ * print the about plugin tab content
110
+ *
111
+ * @since 5.1
112
+ * @static
113
+ */
114
+ public static function print_about_plugin_tab_content() {
115
+ echo '<p>' . __( 'This plugin allows you to perform bulk operations in WordPress easily.', 'bulk-delete' ) . '</p>';
116
+ echo '<p>' . __( 'This plugin can be used to delete the posts, pages or users using various filters and conditions.', 'bulk-delete' ) . '</p>';
117
+ }
118
+ }
119
+
120
+ // hooks
121
+ add_action( 'bd_add_contextual_help', array( 'Bulk_Delete_Help_Screen' , 'add_contextual_help' ) );
122
+ ?>
include/class-bulk-delete-pages.php CHANGED
@@ -99,8 +99,8 @@ class Bulk_Delete_Pages {
99
  <td scope="row">
100
  <input name="smbd_pages_limit" id="smbd_pages_limit" value = "true" type = "checkbox">
101
  <?php _e("Only delete first ", 'bulk-delete');?>
102
- <input type ="textbox" name="smbd_pages_limit_to" id="smbd_pages_limit_to" disabled value ="0" maxlength="4" size="4" /><?php _e("posts.", 'bulk-delete');?>
103
- <?php _e("Use this option if there are more than 1000 posts and the script timesout.", 'bulk-delete') ?>
104
  </td>
105
  </tr>
106
 
@@ -215,17 +215,17 @@ class Bulk_Delete_Pages {
215
  $post_status[] = 'draft';
216
  }
217
 
218
- // Pending Posts
219
  if ("pending_pages" == $delete_options['pending']) {
220
  $post_status[] = 'pending';
221
  }
222
 
223
- // Future Posts
224
  if ("future_pages" == $delete_options['future']) {
225
  $post_status[] = 'future';
226
  }
227
 
228
- // Private Posts
229
  if ("private_pages" == $delete_options['private']) {
230
  $post_status[] = 'private';
231
  }
@@ -250,6 +250,34 @@ class Bulk_Delete_Pages {
250
 
251
  return count( $pages );
252
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  }
254
 
255
  add_action( 'bd_delete_pages_by_status', array( 'Bulk_Delete_Pages', 'do_delete_pages_by_status' ) );
99
  <td scope="row">
100
  <input name="smbd_pages_limit" id="smbd_pages_limit" value = "true" type = "checkbox">
101
  <?php _e("Only delete first ", 'bulk-delete');?>
102
+ <input type ="textbox" name="smbd_pages_limit_to" id="smbd_pages_limit_to" disabled value ="0" maxlength="4" size="4" /><?php _e("pages.", 'bulk-delete');?>
103
+ <?php _e("Use this option if there are more than 1000 pages and the script timesout.", 'bulk-delete') ?>
104
  </td>
105
  </tr>
106
 
215
  $post_status[] = 'draft';
216
  }
217
 
218
+ // Pending pages
219
  if ("pending_pages" == $delete_options['pending']) {
220
  $post_status[] = 'pending';
221
  }
222
 
223
+ // Future pages
224
  if ("future_pages" == $delete_options['future']) {
225
  $post_status[] = 'future';
226
  }
227
 
228
+ // Private pages
229
  if ("private_pages" == $delete_options['private']) {
230
  $post_status[] = 'private';
231
  }
250
 
251
  return count( $pages );
252
  }
253
+
254
+ /**
255
+ * Render delete pages from trash box
256
+ *
257
+ * @since 5.1
258
+ * @static
259
+ */
260
+ public static function render_delete_pages_from_trash() {
261
+ if ( Bulk_Delete_Util::is_pages_box_hidden( Bulk_Delete::BOX_PAGE_FROM_TRASH ) ) {
262
+ printf( __( 'This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'admin.php?page=' . Bulk_Delete::PAGES_PAGE_SLUG );
263
+ return;
264
+ }
265
+
266
+ if ( !class_exists( 'Bulk_Delete_From_Trash' ) ) {
267
+ ?>
268
+ <!-- pages In Trash box start-->
269
+ <p>
270
+ <span class = "bd-pages-trash-pro" style = "color:red">
271
+ <?php _e( 'You need "Bulk Delete From Trash" Addon, to delete pages in Trash.', 'bulk-delete' ); ?>
272
+ <a href = "http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a>
273
+ </span>
274
+ </p>
275
+ <!-- pages In Trash box end-->
276
+ <?php
277
+ } else {
278
+ Bulk_Delete_From_Trash::render_delete_pages_from_trash();
279
+ }
280
+ }
281
  }
282
 
283
  add_action( 'bd_delete_pages_by_status', array( 'Bulk_Delete_Pages', 'do_delete_pages_by_status' ) );
include/class-bulk-delete-posts.php CHANGED
@@ -1360,10 +1360,9 @@ class Bulk_Delete_Posts {
1360
  printf( __( 'This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'admin.php?page=' . Bulk_Delete::POSTS_PAGE_SLUG );
1361
  return;
1362
  }
1363
-
1364
  ?>
1365
  <!-- URLs start-->
1366
- <h4><?php _e("Delete these specific pages", 'bulk-delete'); ?></h4>
1367
 
1368
  <fieldset class="options">
1369
  <table class="optiontable">
@@ -1602,6 +1601,34 @@ class Bulk_Delete_Posts {
1602
  }
1603
  }
1604
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1605
  /**
1606
  * Process delete cron job request.
1607
  * This should ideally go in a separate class. But I was
1360
  printf( __( 'This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'admin.php?page=' . Bulk_Delete::POSTS_PAGE_SLUG );
1361
  return;
1362
  }
 
1363
  ?>
1364
  <!-- URLs start-->
1365
+ <h4><?php _e( 'Delete posts and pages that have the following Permalink', 'bulk-delete' ); ?></h4>
1366
 
1367
  <fieldset class="options">
1368
  <table class="optiontable">
1601
  }
1602
  }
1603
 
1604
+ /**
1605
+ * Render delete posts from trash box
1606
+ *
1607
+ * @since 5.1
1608
+ * @static
1609
+ */
1610
+ public static function render_delete_posts_from_trash() {
1611
+ if ( Bulk_Delete_Util::is_posts_box_hidden( Bulk_Delete::BOX_POST_FROM_TRASH ) ) {
1612
+ printf( __( 'This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'admin.php?page=' . Bulk_Delete::POSTS_PAGE_SLUG );
1613
+ return;
1614
+ }
1615
+
1616
+ if ( !class_exists( 'Bulk_Delete_From_Trash' ) ) {
1617
+ ?>
1618
+ <!-- Posts In Trash box start-->
1619
+ <p>
1620
+ <span class = "bd-post-trash-pro" style = "color:red">
1621
+ <?php _e( 'You need "Bulk Delete From Trash" Addon, to delete post in Trash.', 'bulk-delete' ); ?>
1622
+ <a href = "http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a>
1623
+ </span>
1624
+ </p>
1625
+ <!-- Posts In Trash box end-->
1626
+ <?php
1627
+ } else {
1628
+ Bulk_Delete_From_Trash::render_delete_posts_from_trash();
1629
+ }
1630
+ }
1631
+
1632
  /**
1633
  * Process delete cron job request.
1634
  * This should ideally go in a separate class. But I was
include/class-bulk-delete-system-info.php CHANGED
@@ -33,7 +33,6 @@ class Bulk_Delete_System_Info {
33
  */
34
  public static function display_system_info() {
35
  global $wpdb;
36
- $bd = BULK_DELETE();
37
 
38
  if ( ! class_exists( 'Browser' ) ) {
39
  require_once Bulk_Delete::$PLUGIN_DIR . 'include/libraries/browser.php';
@@ -58,7 +57,7 @@ class Bulk_Delete_System_Info {
58
  ?>
59
  <div class="wrap">
60
  <h2><?php _e( 'System Information', 'bulk-delete' ); ?></h2><br/>
61
- <form action="<?php echo esc_url( admin_url( 'admin.php?page=' . $bd::INFO_PAGE_SLUG ) ); ?>" method="post" dir="ltr">
62
  <textarea style="width:800px;height:400px;font-family:Menlo,Monaco,monospace;white-space:pre;" readonly="readonly" onclick="this.focus();this.select()" id="system-info-textarea" name="bulk-delete-sysinfo" title="<?php _e( 'To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'bulk-delete' ); ?>">
63
  ### Begin System Info ###
64
 
@@ -73,7 +72,7 @@ Multisite: <?php echo is_multisite() ? 'Yes' . "\n" : 'No' . "\n"
73
  SITE_URL: <?php echo site_url() . "\n"; ?>
74
  HOME_URL: <?php echo home_url() . "\n"; ?>
75
 
76
- Bulk Delete Version: <?php echo $bd::VERSION . "\n"; ?>
77
  Upgraded From: <?php echo get_option( 'bulk-delete_version_upgraded_from', 'None' ) . "\n"; ?>
78
  WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
79
  Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
@@ -103,6 +102,8 @@ PHP Allow URL File Open: <?php echo ini_get( 'allow_url_fopen' ) ? "Yes" : "No\
103
 
104
  WP_DEBUG: <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' . "\n" : 'Disabled' . "\n" : 'Not set' . "\n" ?>
105
 
 
 
106
  WP Table Prefix: <?php echo "Length: ". strlen( $wpdb->prefix ); echo " Status:"; if ( strlen( $wpdb->prefix )>16 ) {echo " ERROR: Too Long";} else {echo " Acceptable";} echo "\n"; ?>
107
 
108
  Session: <?php echo isset( $_SESSION ) ? 'Enabled' : 'Disabled'; ?><?php echo "\n"; ?>
33
  */
34
  public static function display_system_info() {
35
  global $wpdb;
 
36
 
37
  if ( ! class_exists( 'Browser' ) ) {
38
  require_once Bulk_Delete::$PLUGIN_DIR . 'include/libraries/browser.php';
57
  ?>
58
  <div class="wrap">
59
  <h2><?php _e( 'System Information', 'bulk-delete' ); ?></h2><br/>
60
+ <form action="<?php echo esc_url( admin_url( 'admin.php?page=' . Bulk_Delete::INFO_PAGE_SLUG ) ); ?>" method="post" dir="ltr">
61
  <textarea style="width:800px;height:400px;font-family:Menlo,Monaco,monospace;white-space:pre;" readonly="readonly" onclick="this.focus();this.select()" id="system-info-textarea" name="bulk-delete-sysinfo" title="<?php _e( 'To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'bulk-delete' ); ?>">
62
  ### Begin System Info ###
63
 
72
  SITE_URL: <?php echo site_url() . "\n"; ?>
73
  HOME_URL: <?php echo home_url() . "\n"; ?>
74
 
75
+ Bulk Delete Version: <?php echo Bulk_Delete::VERSION . "\n"; ?>
76
  Upgraded From: <?php echo get_option( 'bulk-delete_version_upgraded_from', 'None' ) . "\n"; ?>
77
  WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
78
  Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
102
 
103
  WP_DEBUG: <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' . "\n" : 'Disabled' . "\n" : 'Not set' . "\n" ?>
104
 
105
+ EMPTY_TRASH_DAYS: <?php echo defined( 'EMPTY_TRASH_DAYS' ) ? EMPTY_TRASH_DAYS : 'Not set' . "\n" ?>
106
+
107
  WP Table Prefix: <?php echo "Length: ". strlen( $wpdb->prefix ); echo " Status:"; if ( strlen( $wpdb->prefix )>16 ) {echo " ERROR: Too Long";} else {echo " Acceptable";} echo "\n"; ?>
108
 
109
  Session: <?php echo isset( $_SESSION ) ? 'Enabled' : 'Disabled'; ?><?php echo "\n"; ?>
js/bulk-delete.js CHANGED
@@ -80,7 +80,7 @@ jQuery(document).ready(function () {
80
  var current_button = jQuery(this).val(),
81
  valid = false;
82
 
83
- if (jQuery(this).val() === 'bulk-delete-specific') {
84
  if (jQuery(this).parent().prev().children('table').find("textarea").val() !== '') {
85
  valid = true;
86
  } else {
80
  var current_button = jQuery(this).val(),
81
  valid = false;
82
 
83
+ if (jQuery(this).val() === 'delete_posts_by_url') {
84
  if (jQuery(this).parent().prev().children('table').find("textarea").val() !== '') {
85
  valid = true;
86
  } else {
languages/bulk-delete.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Bulk Delete 5.0.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
- "POT-Creation-Date: 2014-06-12 10:05:40+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,160 +12,137 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: bulk-delete.php:158 bulk-delete.php:170
16
  msgid "Cheatin&#8217; huh?"
17
  msgstr ""
18
 
19
- #. #-#-#-#-# bulk-delete.pot (Bulk Delete 5.0.2) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
- #: bulk-delete.php:238
22
  msgid "Bulk Delete"
23
  msgstr ""
24
 
25
- #: bulk-delete.php:240 bulk-delete.php:455 include/admin-ui.php:54
26
  msgid "Bulk Delete Posts"
27
  msgstr ""
28
 
29
- #: bulk-delete.php:241 bulk-delete.php:508
30
  msgid "Bulk Delete Pages"
31
  msgstr ""
32
 
33
- #: bulk-delete.php:242 bulk-delete.php:559 include/admin-ui.php:51
34
  msgid "Bulk Delete Users"
35
  msgstr ""
36
 
37
- #: bulk-delete.php:243 bulk-delete.php:622
38
  msgid "Bulk Delete Schedules"
39
  msgstr ""
40
 
41
- #: bulk-delete.php:243
42
  msgid "Schedules"
43
  msgstr ""
44
 
45
- #: bulk-delete.php:244 include/class-bd-license.php:30
46
  msgid "Addon Licenses"
47
  msgstr ""
48
 
49
- #: bulk-delete.php:245
50
  msgid "Bulk Delete System Info"
51
  msgstr ""
52
 
53
- #: bulk-delete.php:245
54
  msgid "System Info"
55
  msgstr ""
56
 
57
- #: bulk-delete.php:280 bulk-delete.php:337 bulk-delete.php:385
58
- msgid "About Plugin"
59
- msgstr ""
60
-
61
- #: bulk-delete.php:282 bulk-delete.php:339 bulk-delete.php:387
62
- msgid ""
63
- "This plugin allows you to delete posts in bulk from selected categories, "
64
- "tags, custom taxonomies or by post status like drafts, pending posts, "
65
- "scheduled posts etc."
66
- msgstr ""
67
-
68
- #: bulk-delete.php:289 bulk-delete.php:346 bulk-delete.php:394
69
- msgid "More information"
70
- msgstr ""
71
-
72
- #: bulk-delete.php:290 bulk-delete.php:347 bulk-delete.php:395
73
- msgid "Plugin Homepage/support"
74
- msgstr ""
75
-
76
- #: bulk-delete.php:291 bulk-delete.php:348 bulk-delete.php:396
77
- msgid "Buy pro addons"
78
- msgstr ""
79
-
80
- #: bulk-delete.php:292 bulk-delete.php:349 bulk-delete.php:397
81
- msgid "Plugin author's blog"
82
- msgstr ""
83
-
84
- #: bulk-delete.php:293 bulk-delete.php:350 bulk-delete.php:398
85
- msgid "Other Plugin's by Author"
86
- msgstr ""
87
-
88
- #: bulk-delete.php:308
89
  msgid "By Post Status"
90
  msgstr ""
91
 
92
- #: bulk-delete.php:309
93
  msgid "By Category"
94
  msgstr ""
95
 
96
- #: bulk-delete.php:310
97
  msgid "By Tag"
98
  msgstr ""
99
 
100
- #: bulk-delete.php:311
101
  msgid "By Custom Taxonomy"
102
  msgstr ""
103
 
104
- #: bulk-delete.php:312
105
  msgid "By Custom Post Types"
106
  msgstr ""
107
 
108
- #: bulk-delete.php:313
109
  msgid "By URL"
110
  msgstr ""
111
 
112
- #: bulk-delete.php:314
113
  msgid "By Post Revision"
114
  msgstr ""
115
 
116
- #: bulk-delete.php:315
117
  msgid "By Custom Field"
118
  msgstr ""
119
 
120
- #: bulk-delete.php:316
121
  msgid "By Title"
122
  msgstr ""
123
 
124
- #: bulk-delete.php:317
125
  msgid "By Duplicate Title"
126
  msgstr ""
127
 
128
- #: bulk-delete.php:367
 
 
 
 
129
  msgid "By Page status"
130
  msgstr ""
131
 
132
- #: bulk-delete.php:413
 
 
 
 
133
  msgid "By User Role"
134
  msgstr ""
135
 
136
- #: bulk-delete.php:434
137
  msgid "Are you sure you want to delete all the selected posts"
138
  msgstr ""
139
 
140
- #: bulk-delete.php:435
141
  msgid "Are you sure you want to delete all the selected users"
142
  msgstr ""
143
 
144
- #: bulk-delete.php:439
145
  msgid "Please select posts from at least one option"
146
  msgstr ""
147
 
148
- #: bulk-delete.php:440
149
  msgid "Please enter at least one page url"
150
  msgstr ""
151
 
152
- #: bulk-delete.php:441
153
  msgid "Please enter some value for custom field key"
154
  msgstr ""
155
 
156
- #: bulk-delete.php:442
157
  msgid "Please enter some value for title"
158
  msgstr ""
159
 
160
- #: bulk-delete.php:472
161
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
162
  msgstr ""
163
 
164
- #: bulk-delete.php:525
165
  msgid "WARNING: Pages deleted once cannot be retrieved back. Use with caution."
166
  msgstr ""
167
 
168
- #: bulk-delete.php:576
169
  msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
170
  msgstr ""
171
 
@@ -175,15 +152,15 @@ msgid ""
175
  "href = \"%2$s\">rate us</a> at <a href = \"%2$s\">WordPress.org</a>"
176
  msgstr ""
177
 
178
- #: include/admin-ui.php:76
179
  msgid "Buy Addons"
180
  msgstr ""
181
 
182
- #: include/class-bd-license-handler.php:135
183
  msgid "Addon License Key"
184
  msgstr ""
185
 
186
- #: include/class-bd-license-handler.php:157
187
  msgid "Enter license key"
188
  msgstr ""
189
 
@@ -191,88 +168,97 @@ msgstr ""
191
  msgid "Activate License"
192
  msgstr ""
193
 
194
- #: include/class-bd-license.php:194
195
  msgid "The license key for \"%s\" addon was successfully deactivated"
196
  msgstr ""
197
 
198
- #: include/class-bd-license.php:199
199
  msgid ""
200
  "There was some problem while trying to deactivate license key for \"%s\" "
201
  "addon. Kindly try again"
202
  msgstr ""
203
 
204
- #: include/class-bd-license.php:225
205
  msgid "The license key was successfully deleted"
206
  msgstr ""
207
 
208
- #: include/class-bd-license.php:270
209
  msgid ""
210
  "There was some problem in contacting our store to activate the license key "
211
  "for \"%s\" addon"
212
  msgstr ""
213
 
214
- #: include/class-bd-license.php:280
215
  msgid ""
216
  "The license key for \"%s\" addon was successfully activated. The addon will "
217
  "get updates automatically till the license key is valid."
218
  msgstr ""
219
 
220
- #: include/class-bd-license.php:288
221
  msgid ""
222
  "The license key for \"%s\" addon doesn't have any more activations left. "
223
  "Kindly buy a new license."
224
  msgstr ""
225
 
226
- #: include/class-bd-license.php:292
227
  msgid "The license key for \"%s\" addon is revoked. Kindly buy a new license."
228
  msgstr ""
229
 
230
- #: include/class-bd-license.php:296
231
  msgid "The license key for \"%s\" addon has expired. Kindly buy a new license."
232
  msgstr ""
233
 
234
- #: include/class-bd-license.php:300
235
  msgid "The license key for \"%s\" addon is invalid"
236
  msgstr ""
237
 
238
- #: include/class-bd-license.php:362
239
  msgid ""
240
  "The following are the list of pro addons that are currently available for "
241
  "purchase."
242
  msgstr ""
243
 
244
- #: include/class-bd-license.php:368
245
  msgid "Delete posts by custom field"
246
  msgstr ""
247
 
248
- #: include/class-bd-license.php:369
249
  msgid "Adds the ability to delete posts based on custom fields"
250
  msgstr ""
251
 
252
- #: include/class-bd-license.php:370 include/class-bd-license.php:376
253
- #: include/class-bd-license.php:382 include/class-bd-license.php:388
254
- #: include/class-bd-license.php:394 include/class-bd-license.php:400
255
- #: include/class-bd-license.php:406 include/class-bd-license.php:412
256
- #: include/class-bd-license.php:418 include/class-bd-license.php:424
 
257
  msgid "More Info"
258
  msgstr ""
259
 
260
- #: include/class-bd-license.php:374
261
  msgid "Delete posts by duplicate title"
262
  msgstr ""
263
 
264
- #: include/class-bd-license.php:375
265
  msgid "Adds the ability to delete posts based on duplicate title"
266
  msgstr ""
267
 
268
- #: include/class-bd-license.php:380
269
  msgid "Delete posts by title"
270
  msgstr ""
271
 
272
- #: include/class-bd-license.php:381
273
  msgid "Adds the ability to delete posts based on title"
274
  msgstr ""
275
 
 
 
 
 
 
 
 
 
276
  #: include/class-bd-license.php:386
277
  msgid "Scheduler for deleting Posts by Category"
278
  msgstr ""
@@ -333,21 +319,81 @@ msgstr ""
333
  msgid "Adds the ability to schedule auto delete of users based on user role"
334
  msgstr ""
335
 
336
- #: include/class-bd-settings.php:28
337
  msgid "Add Addon License"
338
  msgstr ""
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  #: include/class-bulk-delete-pages.php:22
 
341
  #: include/class-bulk-delete-posts.php:17
342
  #: include/class-bulk-delete-posts.php:302
343
  #: include/class-bulk-delete-posts.php:566
344
  #: include/class-bulk-delete-posts.php:784
345
  #: include/class-bulk-delete-posts.php:1085
346
  #: include/class-bulk-delete-posts.php:1360
347
- #: include/class-bulk-delete-posts.php:1445
348
- #: include/class-bulk-delete-posts.php:1526
349
- #: include/class-bulk-delete-posts.php:1555
350
- #: include/class-bulk-delete-posts.php:1585
 
351
  #: include/class-bulk-delete-users.php:17
352
  msgid ""
353
  "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the "
@@ -392,7 +438,7 @@ msgstr ""
392
  #: include/class-bulk-delete-posts.php:603
393
  #: include/class-bulk-delete-posts.php:880
394
  #: include/class-bulk-delete-posts.php:1140
395
- #: include/class-bulk-delete-posts.php:1380
396
  #: include/class-bulk-delete-users.php:41
397
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:190
398
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:155
@@ -444,7 +490,7 @@ msgstr ""
444
  #: include/class-bulk-delete-posts.php:623
445
  #: include/class-bulk-delete-posts.php:900
446
  #: include/class-bulk-delete-posts.php:1160
447
- #: include/class-bulk-delete-posts.php:1386
448
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:210
449
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:161
450
  #: tmp_addon/bulk-delete-posts-by-title.php:126
@@ -457,7 +503,7 @@ msgstr ""
457
  #: include/class-bulk-delete-posts.php:624
458
  #: include/class-bulk-delete-posts.php:901
459
  #: include/class-bulk-delete-posts.php:1161
460
- #: include/class-bulk-delete-posts.php:1387
461
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:211
462
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:162
463
  #: tmp_addon/bulk-delete-posts-by-title.php:127
@@ -476,26 +522,12 @@ msgid "Only delete first "
476
  msgstr ""
477
 
478
  #: include/class-bulk-delete-pages.php:102
479
- #: include/class-bulk-delete-posts.php:111
480
- #: include/class-bulk-delete-posts.php:407
481
- #: include/class-bulk-delete-posts.php:641
482
- #: include/class-bulk-delete-posts.php:918
483
- #: include/class-bulk-delete-posts.php:1171
484
- #: tmp_addon/bulk-delete-posts-by-custom-field.php:228
485
- #: tmp_addon/bulk-delete-posts-by-title.php:144
486
- msgid "posts."
487
  msgstr ""
488
 
489
  #: include/class-bulk-delete-pages.php:103
490
- #: include/class-bulk-delete-posts.php:112
491
- #: include/class-bulk-delete-posts.php:408
492
- #: include/class-bulk-delete-posts.php:642
493
- #: include/class-bulk-delete-posts.php:919
494
- #: include/class-bulk-delete-posts.php:1172
495
- #: tmp_addon/bulk-delete-posts-by-custom-field.php:229
496
- #: tmp_addon/bulk-delete-posts-by-title.php:145
497
  msgid ""
498
- "Use this option if there are more than 1000 posts and the script timesout."
499
  msgstr ""
500
 
501
  #: include/class-bulk-delete-pages.php:109
@@ -569,9 +601,11 @@ msgstr ""
569
  #: include/class-bulk-delete-posts.php:669
570
  #: include/class-bulk-delete-posts.php:946
571
  #: include/class-bulk-delete-posts.php:1199
572
- #: include/class-bulk-delete-posts.php:1395
573
- #: include/class-bulk-delete-posts.php:1469
574
  #: include/class-bulk-delete-users.php:106
 
 
575
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:263
576
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:196
577
  #: tmp_addon/bulk-delete-posts-by-title.php:179
@@ -601,8 +635,12 @@ msgid_plural "Deleted %d pages"
601
  msgstr[0] ""
602
  msgstr[1] ""
603
 
 
 
 
 
604
  #: include/class-bulk-delete-posts.php:30
605
- #: include/class-bulk-delete-posts.php:1454
606
  msgid "Select the posts which you want to delete"
607
  msgstr ""
608
 
@@ -659,6 +697,27 @@ msgstr ""
659
  msgid "Only restrict to posts which are "
660
  msgstr ""
661
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
662
  #: include/class-bulk-delete-posts.php:176
663
  msgid "Posts with the selected status are scheduled for deletion."
664
  msgstr ""
@@ -795,59 +854,63 @@ msgid_plural "Deleted %d posts from the selected custom post type"
795
  msgstr[0] ""
796
  msgstr[1] ""
797
 
798
- #: include/class-bulk-delete-posts.php:1366
799
- msgid "Delete these specific pages"
800
  msgstr ""
801
 
802
- #: include/class-bulk-delete-posts.php:1372
803
  msgid "Enter one post url (not post ids) per line"
804
  msgstr ""
805
 
806
- #: include/class-bulk-delete-posts.php:1427
807
  msgid "Deleted %d post with the specified urls"
808
  msgid_plural "Deleted %d posts with the specified urls"
809
  msgstr[0] ""
810
  msgstr[1] ""
811
 
812
- #: include/class-bulk-delete-posts.php:1461
813
  msgid "All Revisions"
814
  msgstr ""
815
 
816
- #: include/class-bulk-delete-posts.php:1461
817
  msgid "Revisions"
818
  msgstr ""
819
 
820
- #: include/class-bulk-delete-posts.php:1485
821
  msgid "Deleted %d post revision"
822
  msgid_plural "Deleted %d post revisions"
823
  msgstr[0] ""
824
  msgstr[1] ""
825
 
826
- #: include/class-bulk-delete-posts.php:1535
827
  msgid ""
828
  "You need \"Bulk Delete Posts by Custom Field\" Addon, to delete post by "
829
  "custom field."
830
  msgstr ""
831
 
832
- #: include/class-bulk-delete-posts.php:1564
833
  msgid "You need \"Bulk Delete Posts by Title\" Addon, to delete post by title."
834
  msgstr ""
835
 
836
- #: include/class-bulk-delete-posts.php:1594
837
  msgid ""
838
  "You need \"Bulk Delete Posts by Duplicate Title\" Addon, to delete post by "
839
  "duplicate title."
840
  msgstr ""
841
 
842
- #: include/class-bulk-delete-posts.php:1619
 
 
 
 
843
  msgid "The selected scheduled job was successfully deleted "
844
  msgstr ""
845
 
846
- #: include/class-bulk-delete-system-info.php:60
847
  msgid "System Information"
848
  msgstr ""
849
 
850
- #: include/class-bulk-delete-system-info.php:62
851
  msgid ""
852
  "To copy the system info, click below then press Ctrl + C (PC) or Cmd + C "
853
  "(Mac)."
@@ -959,6 +1022,48 @@ msgstr ""
959
  msgid "You don't have any valid addon license yet."
960
  msgstr ""
961
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
962
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:134
963
  msgid "Select the post type whose posts you want to delete"
964
  msgstr ""
@@ -1034,23 +1139,6 @@ msgid_plural "Deleted %d posts using the selected custom field condition"
1034
  msgstr[0] ""
1035
  msgstr[1] ""
1036
 
1037
- #: tmp_addon/bulk-delete-posts-by-custom-field.php:480
1038
- #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:324
1039
- #: tmp_addon/bulk-delete-posts-by-title.php:359
1040
- #: tmp_addon/bulk-delete-scheduler-for-deleting-pages-by-status.php:106
1041
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-category.php:106
1042
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-custom-field.php:106
1043
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-duplicate-title.php:115
1044
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-post-type.php:105
1045
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-status.php:106
1046
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-tag.php:106
1047
- #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-taxonomy.php:101
1048
- #: tmp_addon/bulk-delete-scheduler-for-deleting-users-by-role.php:106
1049
- msgid ""
1050
- "<strong>%s</strong> addon needs <a href=\"%s\">Bulk Delete plugin</a> to be "
1051
- "installed and activated; the addon has been <strong>deactivated</strong>."
1052
- msgstr ""
1053
-
1054
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:118
1055
  msgid "Select the post type whose duplicate posts you want to delete"
1056
  msgstr ""
2
  # This file is distributed under the same license as the Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Bulk Delete 5.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
+ "POT-Creation-Date: 2014-06-15 09:25:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: bulk-delete.php:160 bulk-delete.php:172
16
  msgid "Cheatin&#8217; huh?"
17
  msgstr ""
18
 
19
+ #. #-#-#-#-# bulk-delete.pot (Bulk Delete 5.1) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
+ #: bulk-delete.php:241
22
  msgid "Bulk Delete"
23
  msgstr ""
24
 
25
+ #: bulk-delete.php:243 bulk-delete.php:403 include/admin-ui.php:52
26
  msgid "Bulk Delete Posts"
27
  msgstr ""
28
 
29
+ #: bulk-delete.php:244 bulk-delete.php:456
30
  msgid "Bulk Delete Pages"
31
  msgstr ""
32
 
33
+ #: bulk-delete.php:245 bulk-delete.php:507 include/admin-ui.php:49
34
  msgid "Bulk Delete Users"
35
  msgstr ""
36
 
37
+ #: bulk-delete.php:246 bulk-delete.php:570
38
  msgid "Bulk Delete Schedules"
39
  msgstr ""
40
 
41
+ #: bulk-delete.php:246
42
  msgid "Schedules"
43
  msgstr ""
44
 
45
+ #: bulk-delete.php:247 include/class-bd-license.php:30
46
  msgid "Addon Licenses"
47
  msgstr ""
48
 
49
+ #: bulk-delete.php:248
50
  msgid "Bulk Delete System Info"
51
  msgstr ""
52
 
53
+ #: bulk-delete.php:248
54
  msgid "System Info"
55
  msgstr ""
56
 
57
+ #: bulk-delete.php:292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  msgid "By Post Status"
59
  msgstr ""
60
 
61
+ #: bulk-delete.php:293
62
  msgid "By Category"
63
  msgstr ""
64
 
65
+ #: bulk-delete.php:294
66
  msgid "By Tag"
67
  msgstr ""
68
 
69
+ #: bulk-delete.php:295
70
  msgid "By Custom Taxonomy"
71
  msgstr ""
72
 
73
+ #: bulk-delete.php:296
74
  msgid "By Custom Post Types"
75
  msgstr ""
76
 
77
+ #: bulk-delete.php:297
78
  msgid "By URL"
79
  msgstr ""
80
 
81
+ #: bulk-delete.php:298
82
  msgid "By Post Revision"
83
  msgstr ""
84
 
85
+ #: bulk-delete.php:299
86
  msgid "By Custom Field"
87
  msgstr ""
88
 
89
+ #: bulk-delete.php:300
90
  msgid "By Title"
91
  msgstr ""
92
 
93
+ #: bulk-delete.php:301
94
  msgid "By Duplicate Title"
95
  msgstr ""
96
 
97
+ #: bulk-delete.php:302 tmp_addon/bulk-delete-from-trash.php:114
98
+ msgid "Posts in Trash"
99
+ msgstr ""
100
+
101
+ #: bulk-delete.php:333
102
  msgid "By Page status"
103
  msgstr ""
104
 
105
+ #: bulk-delete.php:334
106
+ msgid "Pages in Trash"
107
+ msgstr ""
108
+
109
+ #: bulk-delete.php:361
110
  msgid "By User Role"
111
  msgstr ""
112
 
113
+ #: bulk-delete.php:382
114
  msgid "Are you sure you want to delete all the selected posts"
115
  msgstr ""
116
 
117
+ #: bulk-delete.php:383
118
  msgid "Are you sure you want to delete all the selected users"
119
  msgstr ""
120
 
121
+ #: bulk-delete.php:387
122
  msgid "Please select posts from at least one option"
123
  msgstr ""
124
 
125
+ #: bulk-delete.php:388
126
  msgid "Please enter at least one page url"
127
  msgstr ""
128
 
129
+ #: bulk-delete.php:389
130
  msgid "Please enter some value for custom field key"
131
  msgstr ""
132
 
133
+ #: bulk-delete.php:390
134
  msgid "Please enter some value for title"
135
  msgstr ""
136
 
137
+ #: bulk-delete.php:420
138
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
139
  msgstr ""
140
 
141
+ #: bulk-delete.php:473
142
  msgid "WARNING: Pages deleted once cannot be retrieved back. Use with caution."
143
  msgstr ""
144
 
145
+ #: bulk-delete.php:524
146
  msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
147
  msgstr ""
148
 
152
  "href = \"%2$s\">rate us</a> at <a href = \"%2$s\">WordPress.org</a>"
153
  msgstr ""
154
 
155
+ #: include/admin-ui.php:72
156
  msgid "Buy Addons"
157
  msgstr ""
158
 
159
+ #: include/class-bd-license-handler.php:133
160
  msgid "Addon License Key"
161
  msgstr ""
162
 
163
+ #: include/class-bd-license-handler.php:153
164
  msgid "Enter license key"
165
  msgstr ""
166
 
168
  msgid "Activate License"
169
  msgstr ""
170
 
171
+ #: include/class-bd-license.php:190
172
  msgid "The license key for \"%s\" addon was successfully deactivated"
173
  msgstr ""
174
 
175
+ #: include/class-bd-license.php:195
176
  msgid ""
177
  "There was some problem while trying to deactivate license key for \"%s\" "
178
  "addon. Kindly try again"
179
  msgstr ""
180
 
181
+ #: include/class-bd-license.php:220
182
  msgid "The license key was successfully deleted"
183
  msgstr ""
184
 
185
+ #: include/class-bd-license.php:264
186
  msgid ""
187
  "There was some problem in contacting our store to activate the license key "
188
  "for \"%s\" addon"
189
  msgstr ""
190
 
191
+ #: include/class-bd-license.php:274
192
  msgid ""
193
  "The license key for \"%s\" addon was successfully activated. The addon will "
194
  "get updates automatically till the license key is valid."
195
  msgstr ""
196
 
197
+ #: include/class-bd-license.php:282
198
  msgid ""
199
  "The license key for \"%s\" addon doesn't have any more activations left. "
200
  "Kindly buy a new license."
201
  msgstr ""
202
 
203
+ #: include/class-bd-license.php:286
204
  msgid "The license key for \"%s\" addon is revoked. Kindly buy a new license."
205
  msgstr ""
206
 
207
+ #: include/class-bd-license.php:290
208
  msgid "The license key for \"%s\" addon has expired. Kindly buy a new license."
209
  msgstr ""
210
 
211
+ #: include/class-bd-license.php:294
212
  msgid "The license key for \"%s\" addon is invalid"
213
  msgstr ""
214
 
215
+ #: include/class-bd-license.php:356
216
  msgid ""
217
  "The following are the list of pro addons that are currently available for "
218
  "purchase."
219
  msgstr ""
220
 
221
+ #: include/class-bd-license.php:362
222
  msgid "Delete posts by custom field"
223
  msgstr ""
224
 
225
+ #: include/class-bd-license.php:363
226
  msgid "Adds the ability to delete posts based on custom fields"
227
  msgstr ""
228
 
229
+ #: include/class-bd-license.php:364 include/class-bd-license.php:370
230
+ #: include/class-bd-license.php:376 include/class-bd-license.php:382
231
+ #: include/class-bd-license.php:388 include/class-bd-license.php:394
232
+ #: include/class-bd-license.php:400 include/class-bd-license.php:406
233
+ #: include/class-bd-license.php:412 include/class-bd-license.php:418
234
+ #: include/class-bd-license.php:424
235
  msgid "More Info"
236
  msgstr ""
237
 
238
+ #: include/class-bd-license.php:368
239
  msgid "Delete posts by duplicate title"
240
  msgstr ""
241
 
242
+ #: include/class-bd-license.php:369
243
  msgid "Adds the ability to delete posts based on duplicate title"
244
  msgstr ""
245
 
246
+ #: include/class-bd-license.php:374
247
  msgid "Delete posts by title"
248
  msgstr ""
249
 
250
+ #: include/class-bd-license.php:375
251
  msgid "Adds the ability to delete posts based on title"
252
  msgstr ""
253
 
254
+ #: include/class-bd-license.php:380
255
+ msgid "Delete from trash"
256
+ msgstr ""
257
+
258
+ #: include/class-bd-license.php:381
259
+ msgid "Adds the ability to delete posts and pages from trash"
260
+ msgstr ""
261
+
262
  #: include/class-bd-license.php:386
263
  msgid "Scheduler for deleting Posts by Category"
264
  msgstr ""
319
  msgid "Adds the ability to schedule auto delete of users based on user role"
320
  msgstr ""
321
 
322
+ #: include/class-bd-settings.php:26
323
  msgid "Add Addon License"
324
  msgstr ""
325
 
326
+ #: include/class-bulk-delete-help-screen.php:31
327
+ msgid "More information"
328
+ msgstr ""
329
+
330
+ #: include/class-bulk-delete-help-screen.php:32
331
+ msgid "Support Forums"
332
+ msgstr ""
333
+
334
+ #: include/class-bulk-delete-help-screen.php:33
335
+ msgid "Buy pro addons"
336
+ msgstr ""
337
+
338
+ #: include/class-bulk-delete-help-screen.php:34
339
+ msgid "Plugin author's blog"
340
+ msgstr ""
341
+
342
+ #: include/class-bulk-delete-help-screen.php:35
343
+ msgid "Other Plugin's by Author"
344
+ msgstr ""
345
+
346
+ #: include/class-bulk-delete-help-screen.php:56
347
+ #: include/class-bulk-delete-help-screen.php:68
348
+ #: include/class-bulk-delete-help-screen.php:80
349
+ msgid "Overview"
350
+ msgstr ""
351
+
352
+ #: include/class-bulk-delete-help-screen.php:58
353
+ msgid ""
354
+ "This screen contains different modules that allows you to delete posts or "
355
+ "schedule them for deletion."
356
+ msgstr ""
357
+
358
+ #: include/class-bulk-delete-help-screen.php:70
359
+ msgid ""
360
+ "This screen contains different modules that allows you to delete pages or "
361
+ "schedule them for deletion."
362
+ msgstr ""
363
+
364
+ #: include/class-bulk-delete-help-screen.php:82
365
+ msgid ""
366
+ "This screen contains different modules that allows you to delete users or "
367
+ "schedule them for deletion."
368
+ msgstr ""
369
+
370
+ #: include/class-bulk-delete-help-screen.php:92
371
+ msgid "About Plugin"
372
+ msgstr ""
373
+
374
+ #: include/class-bulk-delete-help-screen.php:115
375
+ msgid "This plugin allows you to perform bulk operations in WordPress easily."
376
+ msgstr ""
377
+
378
+ #: include/class-bulk-delete-help-screen.php:116
379
+ msgid ""
380
+ "This plugin can be used to delete the posts, pages or users using various "
381
+ "filters and conditions."
382
+ msgstr ""
383
+
384
  #: include/class-bulk-delete-pages.php:22
385
+ #: include/class-bulk-delete-pages.php:262
386
  #: include/class-bulk-delete-posts.php:17
387
  #: include/class-bulk-delete-posts.php:302
388
  #: include/class-bulk-delete-posts.php:566
389
  #: include/class-bulk-delete-posts.php:784
390
  #: include/class-bulk-delete-posts.php:1085
391
  #: include/class-bulk-delete-posts.php:1360
392
+ #: include/class-bulk-delete-posts.php:1444
393
+ #: include/class-bulk-delete-posts.php:1525
394
+ #: include/class-bulk-delete-posts.php:1554
395
+ #: include/class-bulk-delete-posts.php:1584
396
+ #: include/class-bulk-delete-posts.php:1612
397
  #: include/class-bulk-delete-users.php:17
398
  msgid ""
399
  "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the "
438
  #: include/class-bulk-delete-posts.php:603
439
  #: include/class-bulk-delete-posts.php:880
440
  #: include/class-bulk-delete-posts.php:1140
441
+ #: include/class-bulk-delete-posts.php:1379
442
  #: include/class-bulk-delete-users.php:41
443
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:190
444
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:155
490
  #: include/class-bulk-delete-posts.php:623
491
  #: include/class-bulk-delete-posts.php:900
492
  #: include/class-bulk-delete-posts.php:1160
493
+ #: include/class-bulk-delete-posts.php:1385
494
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:210
495
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:161
496
  #: tmp_addon/bulk-delete-posts-by-title.php:126
503
  #: include/class-bulk-delete-posts.php:624
504
  #: include/class-bulk-delete-posts.php:901
505
  #: include/class-bulk-delete-posts.php:1161
506
+ #: include/class-bulk-delete-posts.php:1386
507
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:211
508
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:162
509
  #: tmp_addon/bulk-delete-posts-by-title.php:127
522
  msgstr ""
523
 
524
  #: include/class-bulk-delete-pages.php:102
525
+ msgid "pages."
 
 
 
 
 
 
 
526
  msgstr ""
527
 
528
  #: include/class-bulk-delete-pages.php:103
 
 
 
 
 
 
 
529
  msgid ""
530
+ "Use this option if there are more than 1000 pages and the script timesout."
531
  msgstr ""
532
 
533
  #: include/class-bulk-delete-pages.php:109
601
  #: include/class-bulk-delete-posts.php:669
602
  #: include/class-bulk-delete-posts.php:946
603
  #: include/class-bulk-delete-posts.php:1199
604
+ #: include/class-bulk-delete-posts.php:1394
605
+ #: include/class-bulk-delete-posts.php:1468
606
  #: include/class-bulk-delete-users.php:106
607
+ #: tmp_addon/bulk-delete-from-trash.php:124
608
+ #: tmp_addon/bulk-delete-from-trash.php:206
609
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:263
610
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:196
611
  #: tmp_addon/bulk-delete-posts-by-title.php:179
635
  msgstr[0] ""
636
  msgstr[1] ""
637
 
638
+ #: include/class-bulk-delete-pages.php:271
639
+ msgid "You need \"Bulk Delete From Trash\" Addon, to delete pages in Trash."
640
+ msgstr ""
641
+
642
  #: include/class-bulk-delete-posts.php:30
643
+ #: include/class-bulk-delete-posts.php:1453
644
  msgid "Select the posts which you want to delete"
645
  msgstr ""
646
 
697
  msgid "Only restrict to posts which are "
698
  msgstr ""
699
 
700
+ #: include/class-bulk-delete-posts.php:111
701
+ #: include/class-bulk-delete-posts.php:407
702
+ #: include/class-bulk-delete-posts.php:641
703
+ #: include/class-bulk-delete-posts.php:918
704
+ #: include/class-bulk-delete-posts.php:1171
705
+ #: tmp_addon/bulk-delete-posts-by-custom-field.php:228
706
+ #: tmp_addon/bulk-delete-posts-by-title.php:144
707
+ msgid "posts."
708
+ msgstr ""
709
+
710
+ #: include/class-bulk-delete-posts.php:112
711
+ #: include/class-bulk-delete-posts.php:408
712
+ #: include/class-bulk-delete-posts.php:642
713
+ #: include/class-bulk-delete-posts.php:919
714
+ #: include/class-bulk-delete-posts.php:1172
715
+ #: tmp_addon/bulk-delete-posts-by-custom-field.php:229
716
+ #: tmp_addon/bulk-delete-posts-by-title.php:145
717
+ msgid ""
718
+ "Use this option if there are more than 1000 posts and the script timesout."
719
+ msgstr ""
720
+
721
  #: include/class-bulk-delete-posts.php:176
722
  msgid "Posts with the selected status are scheduled for deletion."
723
  msgstr ""
854
  msgstr[0] ""
855
  msgstr[1] ""
856
 
857
+ #: include/class-bulk-delete-posts.php:1365
858
+ msgid "Delete posts and pages that have the following Permalink"
859
  msgstr ""
860
 
861
+ #: include/class-bulk-delete-posts.php:1371
862
  msgid "Enter one post url (not post ids) per line"
863
  msgstr ""
864
 
865
+ #: include/class-bulk-delete-posts.php:1426
866
  msgid "Deleted %d post with the specified urls"
867
  msgid_plural "Deleted %d posts with the specified urls"
868
  msgstr[0] ""
869
  msgstr[1] ""
870
 
871
+ #: include/class-bulk-delete-posts.php:1460
872
  msgid "All Revisions"
873
  msgstr ""
874
 
875
+ #: include/class-bulk-delete-posts.php:1460
876
  msgid "Revisions"
877
  msgstr ""
878
 
879
+ #: include/class-bulk-delete-posts.php:1484
880
  msgid "Deleted %d post revision"
881
  msgid_plural "Deleted %d post revisions"
882
  msgstr[0] ""
883
  msgstr[1] ""
884
 
885
+ #: include/class-bulk-delete-posts.php:1534
886
  msgid ""
887
  "You need \"Bulk Delete Posts by Custom Field\" Addon, to delete post by "
888
  "custom field."
889
  msgstr ""
890
 
891
+ #: include/class-bulk-delete-posts.php:1563
892
  msgid "You need \"Bulk Delete Posts by Title\" Addon, to delete post by title."
893
  msgstr ""
894
 
895
+ #: include/class-bulk-delete-posts.php:1593
896
  msgid ""
897
  "You need \"Bulk Delete Posts by Duplicate Title\" Addon, to delete post by "
898
  "duplicate title."
899
  msgstr ""
900
 
901
+ #: include/class-bulk-delete-posts.php:1621
902
+ msgid "You need \"Bulk Delete From Trash\" Addon, to delete post in Trash."
903
+ msgstr ""
904
+
905
+ #: include/class-bulk-delete-posts.php:1646
906
  msgid "The selected scheduled job was successfully deleted "
907
  msgstr ""
908
 
909
+ #: include/class-bulk-delete-system-info.php:59
910
  msgid "System Information"
911
  msgstr ""
912
 
913
+ #: include/class-bulk-delete-system-info.php:61
914
  msgid ""
915
  "To copy the system info, click below then press Ctrl + C (PC) or Cmd + C "
916
  "(Mac)."
1022
  msgid "You don't have any valid addon license yet."
1023
  msgstr ""
1024
 
1025
+ #: tmp_addon/bulk-delete-from-trash.php:103
1026
+ msgid "Select the post type whose posts you want to delete from trash"
1027
+ msgstr ""
1028
+
1029
+ #: tmp_addon/bulk-delete-from-trash.php:141
1030
+ msgid "Deleted %d post from trash"
1031
+ msgid_plural "Deleted %d posts from trash"
1032
+ msgstr[0] ""
1033
+ msgstr[1] ""
1034
+
1035
+ #: tmp_addon/bulk-delete-from-trash.php:191
1036
+ msgid "Select the checkbox to delete pages from trash"
1037
+ msgstr ""
1038
+
1039
+ #: tmp_addon/bulk-delete-from-trash.php:199
1040
+ msgid "pages in Trash"
1041
+ msgstr ""
1042
+
1043
+ #: tmp_addon/bulk-delete-from-trash.php:223
1044
+ msgid "Deleted %d page from trash"
1045
+ msgid_plural "Deleted %d pages from trash"
1046
+ msgstr[0] ""
1047
+ msgstr[1] ""
1048
+
1049
+ #: tmp_addon/bulk-delete-from-trash.php:268
1050
+ #: tmp_addon/bulk-delete-posts-by-custom-field.php:480
1051
+ #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:324
1052
+ #: tmp_addon/bulk-delete-posts-by-title.php:359
1053
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-pages-by-status.php:106
1054
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-category.php:106
1055
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-custom-field.php:106
1056
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-duplicate-title.php:115
1057
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-post-type.php:105
1058
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-status.php:106
1059
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-tag.php:106
1060
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-taxonomy.php:101
1061
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-users-by-role.php:106
1062
+ msgid ""
1063
+ "<strong>%s</strong> addon needs <a href=\"%s\">Bulk Delete plugin</a> to be "
1064
+ "installed and activated; the addon has been <strong>deactivated</strong>."
1065
+ msgstr ""
1066
+
1067
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:134
1068
  msgid "Select the post type whose posts you want to delete"
1069
  msgstr ""
1139
  msgstr[0] ""
1140
  msgstr[1] ""
1141
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1142
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:118
1143
  msgid "Select the post type whose duplicate posts you want to delete"
1144
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: post, comment, delete, bulk, mass, draft, revision, page
4
  Requires at least: 3.8
5
  Tested up to: 3.9.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
- Stable tag: 5.0.2
8
 
9
  Bulk delete posts, pages or users in bulk based on different conditions and filters.
10
 
@@ -34,6 +34,7 @@ This Plugin supports the following bulk delete options for deleting posts
34
  - Delete all pending posts
35
  - Delete all private posts
36
  - Delete all scheduled posts
 
37
 
38
  All the above options support the following filters
39
 
@@ -52,6 +53,7 @@ All the above options support the following filters
52
  - Delete all pending pages
53
  - Delete all private pages
54
  - Delete all scheduled pages
 
55
 
56
  Like posts, all the above options support the following filters as well
57
 
@@ -89,6 +91,7 @@ The following are the popular pro addons that are available for purchase. The fu
89
  - **Delete posts by custom field** - Adds the ability to delete posts based on custom field. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
90
  - **Delete posts by title** - Adds the ability to delete posts based on title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
91
  - **Delete posts by duplicate title** - Adds the ability to delete posts based on duplicate title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
 
92
  - **Scheduler for deleting posts Category** - Adds the ability to schedule auto delete of posts based on category. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
93
  - **Scheduler for deleting posts Tag** - Adds the ability to schedule auto delete of posts based on tag. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
94
  - **Scheduler for deleting posts by Custom Taxonomy** - Adds the ability to schedule auto delete of posts based on custom taxonomy. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
@@ -241,6 +244,16 @@ You can contact us by posting about it in our [support forum](http://bulkwp.com/
241
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
242
  == Changelog ==
243
 
 
 
 
 
 
 
 
 
 
 
244
  = 2014-06-12 - v5.0.2 - (Dev time: 1 hours) =
245
  - Bug: Added compatibility for PHP version 5.2.4 (Issue #64)
246
 
@@ -429,6 +442,9 @@ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/
429
 
430
  == Upgrade Notice ==
431
 
 
 
 
432
  = 5.0.2 =
433
  Added compatibility for PHP version 5.2.4
434
 
@@ -472,9 +488,7 @@ Added the ability to disable different sections of the Plugin.
472
  Fixed issues in deleting posts using custom taxonomy
473
 
474
  = 3.2 =
475
-
476
  Fixed bugs in handling post revisions and dates in categories. Added more options to delete pages.
477
 
478
  = 3.1 =
479
-
480
  Added the option to delete by date for pages, drafts, revisions, future posts etc
4
  Requires at least: 3.8
5
  Tested up to: 3.9.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
+ Stable tag: 5.1
8
 
9
  Bulk delete posts, pages or users in bulk based on different conditions and filters.
10
 
34
  - Delete all pending posts
35
  - Delete all private posts
36
  - Delete all scheduled posts
37
+ - Delete all posts from trash (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
38
 
39
  All the above options support the following filters
40
 
53
  - Delete all pending pages
54
  - Delete all private pages
55
  - Delete all scheduled pages
56
+ - Delete all pages from trash (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
57
 
58
  Like posts, all the above options support the following filters as well
59
 
91
  - **Delete posts by custom field** - Adds the ability to delete posts based on custom field. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
92
  - **Delete posts by title** - Adds the ability to delete posts based on title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
93
  - **Delete posts by duplicate title** - Adds the ability to delete posts based on duplicate title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
94
+ - **Delete from trash** - Adds the ability to delete posts and pages from trash. [More details](http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
95
  - **Scheduler for deleting posts Category** - Adds the ability to schedule auto delete of posts based on category. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
96
  - **Scheduler for deleting posts Tag** - Adds the ability to schedule auto delete of posts based on tag. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
97
  - **Scheduler for deleting posts by Custom Taxonomy** - Adds the ability to schedule auto delete of posts based on custom taxonomy. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
244
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
245
  == Changelog ==
246
 
247
+ = 2014-06-14 - v5.1 - (Dev time: 8 hours) =
248
+ - New: Added the "Delete posts from trash" addon (Issue #65)
249
+
250
+ - Tweak: Added `EMPTY_TRASH_DAYS` to system info page (Issue #67)
251
+ - Tweak: Change the contextual help content for admin screens (Issue #68)
252
+
253
+ - Bug: Added compatibility for PHP version 5.2.4 (Issue #66)
254
+ - Bug: Fixed a bug in JavaScript validation in "Delete by URL" module (Issue #69)
255
+
256
+
257
  = 2014-06-12 - v5.0.2 - (Dev time: 1 hours) =
258
  - Bug: Added compatibility for PHP version 5.2.4 (Issue #64)
259
 
442
 
443
  == Upgrade Notice ==
444
 
445
+ = 5.1 =
446
+ Added the ability to delete posts and pages from trash
447
+
448
  = 5.0.2 =
449
  Added compatibility for PHP version 5.2.4
450
 
488
  Fixed issues in deleting posts using custom taxonomy
489
 
490
  = 3.2 =
 
491
  Fixed bugs in handling post revisions and dates in categories. Added more options to delete pages.
492
 
493
  = 3.1 =
 
494
  Added the option to delete by date for pages, drafts, revisions, future posts etc