Bulk Delete - Version 4.4

Version Description

Download this release

Release Info

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

Code changes from version 4.3 to 4.4

bulk-delete.php CHANGED
@@ -5,7 +5,7 @@ Plugin Script: bulk-delete.php
5
  Plugin URI: http://sudarmuthu.com/wordpress/bulk-delete
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: 4.3
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
@@ -53,10 +53,12 @@ if ( !function_exists( 'array_get' ) ) {
53
  */
54
  class Bulk_Delete {
55
 
56
- const VERSION = '4.3';
57
 
58
  // page slugs
 
59
  const USERS_PAGE_SLUG = 'bulk-delete-users';
 
60
 
61
  // JS constants
62
  const JS_HANDLE = 'bulk-delete';
@@ -70,6 +72,7 @@ class Bulk_Delete {
70
  const CRON_HOOK_TAXONOMY = 'do-bulk-delete-taxonomy';
71
  const CRON_HOOK_POST_TYPES = 'do-bulk-delete-post-types';
72
  const CRON_HOOK_CUSTOM_FIELD= 'do-bulk-delete-custom-field';
 
73
 
74
  const CRON_HOOK_USER_ROLE = 'do-bulk-delete-users-by-role';
75
 
@@ -83,6 +86,7 @@ class Bulk_Delete {
83
  const BOX_URL = 'bd_by_url';
84
  const BOX_POST_REVISION = 'bd_by_post_revision';
85
  const BOX_CUSTOM_FIELD = 'bd_by_custom_field';
 
86
  const BOX_DEBUG = 'bd_debug';
87
 
88
  // meta boxes for delete users
@@ -109,10 +113,11 @@ class Bulk_Delete {
109
  * Add navigation menu
110
  */
111
  function add_menu() {
 
112
 
113
- $this->admin_page = add_submenu_page( 'tools.php', __("Bulk Delete Posts", 'bulk-delete'), __("Bulk Delete Posts", 'bulk-delete'), 'delete_posts', basename(__FILE__), array(&$this, 'display_posts_page'));
114
- $this->users_page = add_submenu_page( 'tools.php', __("Bulk Delete Users", 'bulk-delete'), __("Bulk Delete Users", 'bulk-delete'), 'delete_users', self::USERS_PAGE_SLUG, array( &$this, 'display_users_page' ));
115
- $this->cron_page = add_submenu_page( 'tools.php', __("Bulk Delete Schedules", 'bulk-delete'), __("Bulk Delete Schedules", 'bulk-delete'), 'delete_posts', 'bulk-delete-cron', array(&$this, 'display_cron_page'));
116
 
117
  // enqueue JavaScript
118
  add_action( 'admin_print_scripts-' . $this->admin_page, array( &$this, 'add_script') );
@@ -179,6 +184,7 @@ class Bulk_Delete {
179
  add_meta_box( self::BOX_URL, __( 'By URL', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_url_box', $this->admin_page, 'advanced' );
180
  add_meta_box( self::BOX_POST_REVISION, __( 'By Post Revision', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_post_revision_box', $this->admin_page, 'advanced' );
181
  add_meta_box( self::BOX_CUSTOM_FIELD, __( 'By Custom Field', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_custom_field_box', $this->admin_page, 'advanced' );
 
182
  add_meta_box( self::BOX_DEBUG, __( 'Debug Information', 'bulk-delete' ), 'Bulk_Delete_Posts::render_debug_box', $this->admin_page, 'advanced', 'low' );
183
  }
184
 
@@ -253,7 +259,8 @@ class Bulk_Delete {
253
  $error = array(
254
  'selectone' => __( 'Please select posts from at least one option', 'bulk-delete' ),
255
  'enterurl' => __( 'Please enter at least one page url', 'bulk-delete' ),
256
- 'enter_cf_key' => __( 'Please enter some value for custom field key', 'bulk-delete' )
 
257
  );
258
 
259
  $translation_array = array( 'msg' => $msg, 'error' => $error );
@@ -272,10 +279,10 @@ class Bulk_Delete {
272
 
273
  if( $file == $this_plugin ) {
274
 
275
- $delete_users_link = '<a href="tools.php?page=' . self::USERS_PAGE_SLUG . '">' . __('Bulk Delete Users', 'bulk-delete') . '</a>';
276
  array_unshift( $links, $delete_users_link ); // before other links
277
 
278
- $delete_posts_link = '<a href="tools.php?page=bulk-delete.php">' . __('Bulk Delete Posts', 'bulk-delete') . '</a>';
279
  array_unshift( $links, $delete_posts_link ); // before other links
280
  }
281
  return $links;
@@ -300,7 +307,6 @@ class Bulk_Delete {
300
  function display_posts_page() {
301
  ?>
302
  <div class="wrap">
303
- <?php screen_icon(); ?>
304
  <h2><?php _e('Bulk Delete Posts', 'bulk-delete');?></h2>
305
 
306
  <form method = "post">
@@ -354,7 +360,6 @@ class Bulk_Delete {
354
  function display_users_page() {
355
  ?>
356
  <div class="wrap">
357
- <?php screen_icon(); ?>
358
  <h2><?php _e('Bulk Delete Users', 'bulk-delete');?></h2>
359
 
360
  <form method = "post">
@@ -408,10 +413,9 @@ class Bulk_Delete {
408
 
409
  //Prepare Table of elements
410
  $cron_list_table = new Cron_List_Table();
411
- $cron_list_table->prepare_items( Bulk_Delete_Util::get_cron_schedules() );
412
  ?>
413
  <div class="wrap">
414
- <?php screen_icon(); ?>
415
  <h2><?php _e('Bulk Delete Schedules', 'bulk-delete');?></h2>
416
  <?php
417
  //Table of elements
@@ -471,7 +475,7 @@ class Bulk_Delete {
471
  }
472
 
473
  $this->msg = __( 'Users from the selected userrole are scheduled for deletion.', 'bulk-delete' ) . ' ' .
474
- sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/tools.php?page=bulk-delete-cron' );
475
  } else {
476
  $deleted_count = Bulk_Delete_Users::delete_users_by_role( $delete_options );
477
  $this->msg = sprintf( _n('Deleted %d user from the selected roles', 'Deleted %d users from the selected role' , $deleted_count, 'bulk-delete' ), $deleted_count );
@@ -511,7 +515,7 @@ class Bulk_Delete {
511
  }
512
 
513
  $this->msg = __('Posts from the selected categories are scheduled for deletion.', 'bulk-delete') . ' ' .
514
- sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/tools.php?page=bulk-delete-cron');
515
  } else {
516
  $deleted_count = self::delete_cats($delete_options);
517
  $this->msg = sprintf( _n('Deleted %d post from the selected categories', 'Deleted %d posts from the selected categories' , $deleted_count, 'bulk-delete' ), $deleted_count);
@@ -542,7 +546,7 @@ class Bulk_Delete {
542
  wp_schedule_event($time, $freq, self::CRON_HOOK_TAGS, array($delete_options));
543
  }
544
  $this->msg = __('Posts from the selected tags are scheduled for deletion.', 'bulk-delete') . ' ' .
545
- sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/tools.php?page=bulk-delete-cron');
546
  } else {
547
  $deleted_count = self::delete_tags($delete_options);
548
  $this->msg = sprintf( _n('Deleted %d post from the selected tags', 'Deleted %d posts from the selected tags' , $deleted_count, 'bulk-delete' ), $deleted_count);
@@ -575,7 +579,7 @@ class Bulk_Delete {
575
  wp_schedule_event($time, $freq, self::CRON_HOOK_TAXONOMY, array($delete_options));
576
  }
577
  $this->msg = __('Posts from the selected custom taxonomies are scheduled for deletion.', 'bulk-delete') . ' ' .
578
- sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/tools.php?page=bulk-delete-cron');
579
  } else {
580
  $deleted_count = self::delete_taxs($delete_options);
581
  $this->msg = sprintf( _n('Deleted %d post from the selected custom taxonomies', 'Deleted %d posts from the selected custom taxonomies' , $deleted_count, 'bulk-delete' ), $deleted_count);
@@ -606,7 +610,7 @@ class Bulk_Delete {
606
  }
607
 
608
  $this->msg = __( 'Posts from the selected custom post type are scheduled for deletion.', 'bulk-delete') . ' ' .
609
- sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/tools.php?page=bulk-delete-cron' );
610
  } else {
611
  $deleted_count = self::delete_post_types( $delete_options );
612
  $this->msg = sprintf( _n( 'Deleted %d post from the selected custom post type', 'Deleted %d posts from the selected custom post type' , $deleted_count, 'bulk-delete' ), $deleted_count );
@@ -625,10 +629,12 @@ class Bulk_Delete {
625
  $delete_options['post_status_op'] = array_get($_POST, 'smbd_post_status_op');
626
  $delete_options['post_status_days'] = array_get($_POST, 'smbd_post_status_days');
627
 
 
628
  $delete_options['drafts'] = array_get($_POST, 'smbd_drafts');
629
  $delete_options['pending'] = array_get($_POST, 'smbd_pending');
630
  $delete_options['future'] = array_get($_POST, 'smbd_future');
631
  $delete_options['private'] = array_get($_POST, 'smbd_private');
 
632
 
633
  if (array_get($_POST, 'smbd_post_status_cron', 'false') == 'true') {
634
  $freq = $_POST['smbd_post_status_cron_freq'];
@@ -640,7 +646,7 @@ class Bulk_Delete {
640
  wp_schedule_event($time, $freq, self::CRON_HOOK_POST_STATUS, array($delete_options));
641
  }
642
  $this->msg = __('Posts with the selected status are scheduled for deletion.', 'bulk-delete') . ' ' .
643
- sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/tools.php?page=bulk-delete-cron');
644
  } else {
645
  $deleted_count = self::delete_post_status($delete_options);
646
  $this->msg = sprintf( _n('Deleted %d post with the selected post status', 'Deleted %d posts with the selected post status' , $deleted_count, 'bulk-delete' ), $deleted_count);
@@ -675,7 +681,7 @@ class Bulk_Delete {
675
  wp_schedule_event($time, $freq , self::CRON_HOOK_PAGES, array($delete_options));
676
  }
677
  $this->msg = __('The selected pages are scheduled for deletion.', 'bulk-delete') . ' ' .
678
- sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/tools.php?page=bulk-delete-cron');
679
  } else {
680
  $deleted_count = self::delete_pages($delete_options);
681
  $this->msg = sprintf( _n('Deleted %d page', 'Deleted %d pages' , $deleted_count, 'bulk-delete' ), $deleted_count);
@@ -743,13 +749,48 @@ class Bulk_Delete {
743
  }
744
 
745
  $this->msg = __( 'Posts matching the selected custom field setting are scheduled for deletion.', 'bulk-delete' ) . ' ' .
746
- sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( 'wpurl' ) . '/wp-admin/tools.php?page=bulk-delete-cron' );
747
  } else {
748
  $deleted_count = Bulk_Delete_Custom_Field::delete_custom_field( $delete_options );
749
  $this->msg = sprintf( _n( 'Deleted %d post using the selected custom field condition', 'Deleted %d posts using the selected custom field condition' , $deleted_count, 'bulk-delete' ), $deleted_count );
750
  }
751
  }
752
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
  }
754
  }
755
 
@@ -1044,6 +1085,27 @@ class Bulk_Delete {
1044
  global $wp_query;
1045
  global $wpdb;
1046
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1047
  $options = array();
1048
  $post_status = array();
1049
 
@@ -1063,9 +1125,18 @@ class Bulk_Delete {
1063
  $force_delete = false;
1064
  }
1065
 
 
 
 
 
 
1066
  // Drafts
1067
- if ("drafts" == $delete_options['drafts']) {
1068
  $post_status[] = 'draft';
 
 
 
 
1069
  }
1070
 
1071
  // Pending Posts
@@ -1096,17 +1167,14 @@ class Bulk_Delete {
1096
  // now retrieve all posts and delete them
1097
  $options['post_status'] = $post_status;
1098
 
1099
- // ignore sticky posts.
1100
- // For some reason, sticky posts also gets deleted when deleting drafts through a schedule
1101
- $options['post__not_in'] = get_option( 'sticky_posts' );
1102
-
1103
  $posts = $wp_query->query($options);
1104
 
1105
  foreach ($posts as $post) {
1106
  wp_delete_post($post->ID, $force_delete);
1107
  }
1108
 
1109
- return count( $posts );
 
1110
  }
1111
 
1112
  /**
5
  Plugin URI: http://sudarmuthu.com/wordpress/bulk-delete
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: 4.4
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
53
  */
54
  class Bulk_Delete {
55
 
56
+ const VERSION = '4.4';
57
 
58
  // page slugs
59
+ const POSTS_PAGE_SLUG = 'bulk-delete-posts';
60
  const USERS_PAGE_SLUG = 'bulk-delete-users';
61
+ const CRON_PAGE_SLUG = 'bulk-delete-cron';
62
 
63
  // JS constants
64
  const JS_HANDLE = 'bulk-delete';
72
  const CRON_HOOK_TAXONOMY = 'do-bulk-delete-taxonomy';
73
  const CRON_HOOK_POST_TYPES = 'do-bulk-delete-post-types';
74
  const CRON_HOOK_CUSTOM_FIELD= 'do-bulk-delete-custom-field';
75
+ const CRON_HOOK_TITLE = 'do-bulk-delete-by-title';
76
 
77
  const CRON_HOOK_USER_ROLE = 'do-bulk-delete-users-by-role';
78
 
86
  const BOX_URL = 'bd_by_url';
87
  const BOX_POST_REVISION = 'bd_by_post_revision';
88
  const BOX_CUSTOM_FIELD = 'bd_by_custom_field';
89
+ const BOX_TITLE = 'bd_by_title';
90
  const BOX_DEBUG = 'bd_debug';
91
 
92
  // meta boxes for delete users
113
  * Add navigation menu
114
  */
115
  function add_menu() {
116
+ 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 );
117
 
118
+ $this->admin_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' ) );
119
+ $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' ) );
120
+ $this->cron_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Schedules', 'bulk-delete' ), __( 'Bulk Delete Schedules', 'bulk-delete' ), 'delete_posts', self::CRON_PAGE_SLUG, array( &$this, 'display_cron_page' ) );
121
 
122
  // enqueue JavaScript
123
  add_action( 'admin_print_scripts-' . $this->admin_page, array( &$this, 'add_script') );
184
  add_meta_box( self::BOX_URL, __( 'By URL', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_url_box', $this->admin_page, 'advanced' );
185
  add_meta_box( self::BOX_POST_REVISION, __( 'By Post Revision', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_post_revision_box', $this->admin_page, 'advanced' );
186
  add_meta_box( self::BOX_CUSTOM_FIELD, __( 'By Custom Field', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_custom_field_box', $this->admin_page, 'advanced' );
187
+ add_meta_box( self::BOX_TITLE, __( 'By Title', 'bulk-delete' ), 'Bulk_Delete_Posts::render_by_title_box', $this->admin_page, 'advanced' );
188
  add_meta_box( self::BOX_DEBUG, __( 'Debug Information', 'bulk-delete' ), 'Bulk_Delete_Posts::render_debug_box', $this->admin_page, 'advanced', 'low' );
189
  }
190
 
259
  $error = array(
260
  'selectone' => __( 'Please select posts from at least one option', 'bulk-delete' ),
261
  'enterurl' => __( 'Please enter at least one page url', 'bulk-delete' ),
262
+ 'enter_cf_key' => __( 'Please enter some value for custom field key', 'bulk-delete' ),
263
+ 'enter_title' => __( 'Please enter some value for title', 'bulk-delete' )
264
  );
265
 
266
  $translation_array = array( 'msg' => $msg, 'error' => $error );
279
 
280
  if( $file == $this_plugin ) {
281
 
282
+ $delete_users_link = '<a href="admin.php?page=' . self::USERS_PAGE_SLUG . '">' . __( 'Bulk Delete Users', 'bulk-delete' ) . '</a>';
283
  array_unshift( $links, $delete_users_link ); // before other links
284
 
285
+ $delete_posts_link = '<a href="admin.php?page=' . self::POSTS_PAGE_SLUG . '">' . __( 'Bulk Delete Posts', 'bulk-delete' ) . '</a>';
286
  array_unshift( $links, $delete_posts_link ); // before other links
287
  }
288
  return $links;
307
  function display_posts_page() {
308
  ?>
309
  <div class="wrap">
 
310
  <h2><?php _e('Bulk Delete Posts', 'bulk-delete');?></h2>
311
 
312
  <form method = "post">
360
  function display_users_page() {
361
  ?>
362
  <div class="wrap">
 
363
  <h2><?php _e('Bulk Delete Users', 'bulk-delete');?></h2>
364
 
365
  <form method = "post">
413
 
414
  //Prepare Table of elements
415
  $cron_list_table = new Cron_List_Table();
416
+ $cron_list_table->prepare_items();
417
  ?>
418
  <div class="wrap">
 
419
  <h2><?php _e('Bulk Delete Schedules', 'bulk-delete');?></h2>
420
  <?php
421
  //Table of elements
475
  }
476
 
477
  $this->msg = __( 'Users from the selected userrole are scheduled for deletion.', 'bulk-delete' ) . ' ' .
478
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
479
  } else {
480
  $deleted_count = Bulk_Delete_Users::delete_users_by_role( $delete_options );
481
  $this->msg = sprintf( _n('Deleted %d user from the selected roles', 'Deleted %d users from the selected role' , $deleted_count, 'bulk-delete' ), $deleted_count );
515
  }
516
 
517
  $this->msg = __('Posts from the selected categories are scheduled for deletion.', 'bulk-delete') . ' ' .
518
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
519
  } else {
520
  $deleted_count = self::delete_cats($delete_options);
521
  $this->msg = sprintf( _n('Deleted %d post from the selected categories', 'Deleted %d posts from the selected categories' , $deleted_count, 'bulk-delete' ), $deleted_count);
546
  wp_schedule_event($time, $freq, self::CRON_HOOK_TAGS, array($delete_options));
547
  }
548
  $this->msg = __('Posts from the selected tags are scheduled for deletion.', 'bulk-delete') . ' ' .
549
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
550
  } else {
551
  $deleted_count = self::delete_tags($delete_options);
552
  $this->msg = sprintf( _n('Deleted %d post from the selected tags', 'Deleted %d posts from the selected tags' , $deleted_count, 'bulk-delete' ), $deleted_count);
579
  wp_schedule_event($time, $freq, self::CRON_HOOK_TAXONOMY, array($delete_options));
580
  }
581
  $this->msg = __('Posts from the selected custom taxonomies are scheduled for deletion.', 'bulk-delete') . ' ' .
582
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
583
  } else {
584
  $deleted_count = self::delete_taxs($delete_options);
585
  $this->msg = sprintf( _n('Deleted %d post from the selected custom taxonomies', 'Deleted %d posts from the selected custom taxonomies' , $deleted_count, 'bulk-delete' ), $deleted_count);
610
  }
611
 
612
  $this->msg = __( 'Posts from the selected custom post type are scheduled for deletion.', 'bulk-delete') . ' ' .
613
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
614
  } else {
615
  $deleted_count = self::delete_post_types( $delete_options );
616
  $this->msg = sprintf( _n( 'Deleted %d post from the selected custom post type', 'Deleted %d posts from the selected custom post type' , $deleted_count, 'bulk-delete' ), $deleted_count );
629
  $delete_options['post_status_op'] = array_get($_POST, 'smbd_post_status_op');
630
  $delete_options['post_status_days'] = array_get($_POST, 'smbd_post_status_days');
631
 
632
+ $delete_options['publish'] = array_get( $_POST, 'smbd_publish' );
633
  $delete_options['drafts'] = array_get($_POST, 'smbd_drafts');
634
  $delete_options['pending'] = array_get($_POST, 'smbd_pending');
635
  $delete_options['future'] = array_get($_POST, 'smbd_future');
636
  $delete_options['private'] = array_get($_POST, 'smbd_private');
637
+ $delete_options['sticky'] = array_get( $_POST, 'smbd_sticky' );
638
 
639
  if (array_get($_POST, 'smbd_post_status_cron', 'false') == 'true') {
640
  $freq = $_POST['smbd_post_status_cron_freq'];
646
  wp_schedule_event($time, $freq, self::CRON_HOOK_POST_STATUS, array($delete_options));
647
  }
648
  $this->msg = __('Posts with the selected status are scheduled for deletion.', 'bulk-delete') . ' ' .
649
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
650
  } else {
651
  $deleted_count = self::delete_post_status($delete_options);
652
  $this->msg = sprintf( _n('Deleted %d post with the selected post status', 'Deleted %d posts with the selected post status' , $deleted_count, 'bulk-delete' ), $deleted_count);
681
  wp_schedule_event($time, $freq , self::CRON_HOOK_PAGES, array($delete_options));
682
  }
683
  $this->msg = __('The selected pages are scheduled for deletion.', 'bulk-delete') . ' ' .
684
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
685
  } else {
686
  $deleted_count = self::delete_pages($delete_options);
687
  $this->msg = sprintf( _n('Deleted %d page', 'Deleted %d pages' , $deleted_count, 'bulk-delete' ), $deleted_count);
749
  }
750
 
751
  $this->msg = __( 'Posts matching the selected custom field setting are scheduled for deletion.', 'bulk-delete' ) . ' ' .
752
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
753
  } else {
754
  $deleted_count = Bulk_Delete_Custom_Field::delete_custom_field( $delete_options );
755
  $this->msg = sprintf( _n( 'Deleted %d post using the selected custom field condition', 'Deleted %d posts using the selected custom field condition' , $deleted_count, 'bulk-delete' ), $deleted_count );
756
  }
757
  }
758
  break;
759
+
760
+ case "bulk-delete-by-title":
761
+ // delete by title
762
+
763
+ if ( class_exists( 'Bulk_Delete_By_Title' ) ) {
764
+ $delete_options = array();
765
+ $delete_options['title_field_op'] = array_get( $_POST, 'smbd_title_field_op' );
766
+ $delete_options['title_value'] = array_get( $_POST, 'smbd_title_value' );
767
+
768
+ $delete_options['restrict'] = array_get( $_POST, 'smbd_title_restrict', FALSE );
769
+ $delete_options['private'] = array_get( $_POST, 'smbd_title_private' );
770
+ $delete_options['limit_to'] = absint( array_get( $_POST, 'smbd_title_limit_to', 0) );
771
+ $delete_options['force_delete'] = array_get( $_POST, 'smbd_title_force_delete', 'false' );
772
+
773
+ $delete_options['title_op'] = array_get( $_POST, 'smbd_title_op' );
774
+ $delete_options['title_days'] = array_get( $_POST, 'smbd_title_days' );
775
+
776
+ if ( array_get( $_POST, 'smbd_title_cron', 'false' ) == 'true' ) {
777
+ $freq = $_POST['smbd_title_cron_freq'];
778
+ $time = strtotime( $_POST['smbd_title_cron_start'] ) - ( get_option( 'gmt_offset' ) * 60 * 60 );
779
+
780
+ if ( $freq == -1 ) {
781
+ wp_schedule_single_event( $time, self::CRON_HOOK_TITLE, array( $delete_options ) );
782
+ } else {
783
+ wp_schedule_event( $time, $freq , self::CRON_HOOK_TITLE, array( $delete_options ) );
784
+ }
785
+
786
+ $this->msg = __( 'Posts matching the selected title setting are scheduled for deletion.', 'bulk-delete' ) . ' ' .
787
+ sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( 'wpurl' ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
788
+ } else {
789
+ $deleted_count = Bulk_Delete_By_Title::delete_by_title( $delete_options );
790
+ $this->msg = sprintf( _n( 'Deleted %d post using the selected title condition', 'Deleted %d posts using the selected title condition' , $deleted_count, 'bulk-delete' ), $deleted_count );
791
+ }
792
+ }
793
+ break;
794
  }
795
  }
796
 
1085
  global $wp_query;
1086
  global $wpdb;
1087
 
1088
+ $deleted_posts = 0;
1089
+
1090
+ $force_delete = $delete_options['force_delete'];
1091
+
1092
+ if ($force_delete == 'true') {
1093
+ $force_delete = true;
1094
+ } else {
1095
+ $force_delete = false;
1096
+ }
1097
+
1098
+ // Delete sticky posts
1099
+ if ( 'sticky' == $delete_options['sticky'] ) {
1100
+ $sticky_post_ids = get_option( 'sticky_posts' );
1101
+
1102
+ foreach ( $sticky_post_ids as $sticky_post_id ) {
1103
+ wp_delete_post( $sticky_post_id, $force_delete );
1104
+ }
1105
+
1106
+ $deleted_posts += count( $sticky_post_ids );
1107
+ }
1108
+
1109
  $options = array();
1110
  $post_status = array();
1111
 
1125
  $force_delete = false;
1126
  }
1127
 
1128
+ // Published posts
1129
+ if ( 'publish' == $delete_options['publish'] ) {
1130
+ $post_status[] = 'publish';
1131
+ }
1132
+
1133
  // Drafts
1134
+ if ( 'drafts' == $delete_options['drafts'] ) {
1135
  $post_status[] = 'draft';
1136
+
1137
+ // ignore sticky posts.
1138
+ // For some reason, sticky posts also gets deleted when deleting drafts through a schedule
1139
+ $options['post__not_in'] = get_option( 'sticky_posts' );
1140
  }
1141
 
1142
  // Pending Posts
1167
  // now retrieve all posts and delete them
1168
  $options['post_status'] = $post_status;
1169
 
 
 
 
 
1170
  $posts = $wp_query->query($options);
1171
 
1172
  foreach ($posts as $post) {
1173
  wp_delete_post($post->ID, $force_delete);
1174
  }
1175
 
1176
+ $deleted_posts += count( $posts );
1177
+ return $deleted_posts;
1178
  }
1179
 
1180
  /**
include/class-bulk-delete-posts.php CHANGED
@@ -13,20 +13,30 @@ class Bulk_Delete_Posts {
13
  public static function render_by_post_status_box() {
14
 
15
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_POST_STATUS) ) {
16
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
17
  return;
18
  }
19
 
20
  $posts_count = wp_count_posts();
 
21
  $drafts = $posts_count->draft;
22
  $future = $posts_count->future;
23
  $pending = $posts_count->pending;
24
  $private = $posts_count->private;
 
 
25
  ?>
26
  <h4><?php _e("Select the posts which you want to delete", 'bulk-delete'); ?></h4>
27
 
28
  <fieldset class="options">
29
  <table class="optiontable">
 
 
 
 
 
 
 
30
  <tr>
31
  <td scope="row" >
32
  <input name="smbd_drafts" id ="smbd_drafts" value = "drafts" type = "checkbox" />
@@ -55,12 +65,25 @@ class Bulk_Delete_Posts {
55
  </td>
56
  </tr>
57
 
 
 
 
 
 
 
 
58
  <tr>
59
  <td>
60
  <h4><?php _e("Choose your filtering options", 'bulk-delete'); ?></h4>
61
  </td>
62
  </tr>
63
 
 
 
 
 
 
 
64
  <tr>
65
  <td scope="row">
66
  <input name="smbd_post_status_restrict" id="smbd_post_status_restrict" value = "true" type = "checkbox">
@@ -123,7 +146,7 @@ class Bulk_Delete_Posts {
123
  public static function render_by_category_box() {
124
 
125
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_CATEGORY) ) {
126
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
127
  return;
128
  }
129
 
@@ -276,7 +299,7 @@ class Bulk_Delete_Posts {
276
  public static function render_by_tag_box() {
277
 
278
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_TAG) ) {
279
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
280
  return;
281
  }
282
 
@@ -396,7 +419,7 @@ class Bulk_Delete_Posts {
396
  public static function render_by_tax_box() {
397
 
398
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_TAX) ) {
399
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
400
  return;
401
  }
402
 
@@ -576,7 +599,7 @@ class Bulk_Delete_Posts {
576
  public static function render_by_post_type_box() {
577
 
578
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_POST_TYPE) ) {
579
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
580
  return;
581
  }
582
 
@@ -708,7 +731,7 @@ class Bulk_Delete_Posts {
708
  public static function render_by_page_box() {
709
 
710
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_PAGE) ) {
711
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
712
  return;
713
  }
714
 
@@ -828,7 +851,7 @@ class Bulk_Delete_Posts {
828
  public static function render_by_url_box() {
829
 
830
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_URL) ) {
831
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
832
  return;
833
  }
834
 
@@ -875,7 +898,7 @@ class Bulk_Delete_Posts {
875
  public static function render_by_post_revision_box() {
876
 
877
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_POST_REVISION) ) {
878
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
879
  return;
880
  }
881
 
@@ -911,7 +934,7 @@ class Bulk_Delete_Posts {
911
  public static function render_by_custom_field_box() {
912
 
913
  if ( Bulk_Delete_Util::is_posts_box_hidden( Bulk_Delete::BOX_CUSTOM_FIELD ) ) {
914
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=bulk-delete.php' );
915
  return;
916
  }
917
 
@@ -919,8 +942,8 @@ class Bulk_Delete_Posts {
919
  ?>
920
  <!-- Custom Field box start-->
921
  <p>
922
- <span class = "bd-post-status-pro" style = "color:red">
923
- <?php _e( 'You need "Bulk Delete by Custom Field" Addon, to delete post by custom field.', 'bulk-delete'); ?>
924
  <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field">Buy now</a>
925
  </span>
926
  </p>
@@ -931,6 +954,36 @@ class Bulk_Delete_Posts {
931
  }
932
  }
933
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
934
  /**
935
  * Render debug box
936
  */
13
  public static function render_by_post_status_box() {
14
 
15
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_POST_STATUS) ) {
16
+ 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 );
17
  return;
18
  }
19
 
20
  $posts_count = wp_count_posts();
21
+ $publish = $posts_count->publish;
22
  $drafts = $posts_count->draft;
23
  $future = $posts_count->future;
24
  $pending = $posts_count->pending;
25
  $private = $posts_count->private;
26
+
27
+ $sticky = count( get_option( 'sticky_posts' ) );
28
  ?>
29
  <h4><?php _e("Select the posts which you want to delete", 'bulk-delete'); ?></h4>
30
 
31
  <fieldset class="options">
32
  <table class="optiontable">
33
+ <tr>
34
+ <td>
35
+ <input name="smbd_publish" id ="smbd_publish" value = "publish" type = "checkbox" >
36
+ <label for="smbd_publish"><?php _e( 'All publish posts', 'bulk-delete' ); ?> (<?php echo $publish . ' '; _e( 'Posts', 'bulk-delete' ); ?>)</label>
37
+ </td>
38
+ </tr>
39
+
40
  <tr>
41
  <td scope="row" >
42
  <input name="smbd_drafts" id ="smbd_drafts" value = "drafts" type = "checkbox" />
65
  </td>
66
  </tr>
67
 
68
+ <tr>
69
+ <td>
70
+ <input name="smbd_sticky" id ="smbd_sticky" value = "sticky" type = "checkbox" >
71
+ <label for="smbd_sticky"><?php _e( 'All Sticky posts', 'bulk-delete' ); ?> (<?php echo $sticky . ' '; _e( 'Posts', 'bulk-delete' ); ?>)</label>
72
+ </td>
73
+ </tr>
74
+
75
  <tr>
76
  <td>
77
  <h4><?php _e("Choose your filtering options", 'bulk-delete'); ?></h4>
78
  </td>
79
  </tr>
80
 
81
+ <tr>
82
+ <td>
83
+ <p><?php _e( 'Note: The date filter will not work for sticky posts', 'bulk-delete' ); ?></p>
84
+ </td>
85
+ </tr>
86
+
87
  <tr>
88
  <td scope="row">
89
  <input name="smbd_post_status_restrict" id="smbd_post_status_restrict" value = "true" type = "checkbox">
146
  public static function render_by_category_box() {
147
 
148
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_CATEGORY) ) {
149
+ 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 );
150
  return;
151
  }
152
 
299
  public static function render_by_tag_box() {
300
 
301
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_TAG) ) {
302
+ 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 );
303
  return;
304
  }
305
 
419
  public static function render_by_tax_box() {
420
 
421
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_TAX) ) {
422
+ 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 );
423
  return;
424
  }
425
 
599
  public static function render_by_post_type_box() {
600
 
601
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_POST_TYPE) ) {
602
+ 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 );
603
  return;
604
  }
605
 
731
  public static function render_by_page_box() {
732
 
733
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_PAGE) ) {
734
+ 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 );
735
  return;
736
  }
737
 
851
  public static function render_by_url_box() {
852
 
853
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_URL) ) {
854
+ 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 );
855
  return;
856
  }
857
 
898
  public static function render_by_post_revision_box() {
899
 
900
  if ( Bulk_Delete_Util::is_posts_box_hidden(Bulk_Delete::BOX_POST_REVISION) ) {
901
+ 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 );
902
  return;
903
  }
904
 
934
  public static function render_by_custom_field_box() {
935
 
936
  if ( Bulk_Delete_Util::is_posts_box_hidden( Bulk_Delete::BOX_CUSTOM_FIELD ) ) {
937
+ 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 );
938
  return;
939
  }
940
 
942
  ?>
943
  <!-- Custom Field box start-->
944
  <p>
945
+ <span class = "bd-post-custom-field-pro" style = "color:red">
946
+ <?php _e( 'You need "Bulk Delete by Custom Field" Addon, to delete post by custom field.', 'bulk-delete' ); ?>
947
  <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field">Buy now</a>
948
  </span>
949
  </p>
954
  }
955
  }
956
 
957
+ /**
958
+ * Render posts by title box
959
+ *
960
+ * @since 4.4
961
+ * @static
962
+ * @access public
963
+ */
964
+ public static function render_by_title_box() {
965
+
966
+ if ( Bulk_Delete_Util::is_posts_box_hidden( Bulk_Delete::BOX_TITLE ) ) {
967
+ 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 );
968
+ return;
969
+ }
970
+
971
+ if ( !class_exists( 'Bulk_Delete_By_Title' ) ) {
972
+ ?>
973
+ <!-- Title box start-->
974
+ <p>
975
+ <span class = "bd-post-title-pro" style = "color:red">
976
+ <?php _e( 'You need "Bulk Delete by Title" Addon, to delete post by title.', 'bulk-delete' ); ?>
977
+ <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-title">Buy now</a>
978
+ </span>
979
+ </p>
980
+ <!-- Title box end-->
981
+ <?php
982
+ } else {
983
+ Bulk_Delete_By_Title::render_by_title_box();
984
+ }
985
+ }
986
+
987
  /**
988
  * Render debug box
989
  */
include/class-bulk-delete-users.php CHANGED
@@ -13,7 +13,7 @@ class Bulk_Delete_Users {
13
  public static function render_delete_users_box() {
14
 
15
  if ( Bulk_Delete_Util::is_users_box_hidden( Bulk_Delete::BOX_USERS ) ) {
16
- printf( __('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete' ), 'tools.php?page=' . Bulk_Delete::USERS_PAGE_SLUG );
17
  return;
18
  }
19
  ?>
13
  public static function render_delete_users_box() {
14
 
15
  if ( Bulk_Delete_Util::is_users_box_hidden( Bulk_Delete::BOX_USERS ) ) {
16
+ 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::USERS_PAGE_SLUG );
17
  return;
18
  }
19
  ?>
include/class-bulk-delete-util.php CHANGED
@@ -11,8 +11,8 @@ class Bulk_Delete_Util {
11
  const SIMPLE_LOGIN_LOG_TABLE = 'simple_login_log';
12
 
13
  // Meta boxes
14
- const VISIBLE_POST_BOXES = 'metaboxhidden_tools_page_bulk-delete';
15
- const VISIBLE_USER_BOXES = 'metaboxhidden_tools_page_bulk-delete-users';
16
 
17
  /**
18
  * Find out if Simple Login Log is installed or not
11
  const SIMPLE_LOGIN_LOG_TABLE = 'simple_login_log';
12
 
13
  // Meta boxes
14
+ const VISIBLE_POST_BOXES = 'metaboxhidden_toplevel_page_bulk-delete-posts';
15
+ const VISIBLE_USER_BOXES = 'metaboxhidden_bulk-delete_page_bulk-delete-users';
16
 
17
  /**
18
  * Find out if Simple Login Log is installed or not
include/class-cron-list-table.php CHANGED
@@ -54,6 +54,13 @@ class Cron_List_Table extends WP_List_Table {
54
  echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field">', __('Buy now', 'bulk-delete'), '</a>';
55
  echo '</li>';
56
 
 
 
 
 
 
 
 
57
  echo '<li>';
58
  echo '<strong>', __('Schedule auto delete of Posts by Categories', 'bulk-delete'), '</strong>', ' - ';
59
  echo __('Adds the ability to schedule auto delete of posts based on categories', 'bulk-delete');
@@ -122,18 +129,20 @@ class Cron_List_Table extends WP_List_Table {
122
 
123
  /**
124
  * Decide which columns to activate the sorting functionality on
 
125
  * @return array $sortable, the array of columns that can be sorted by the user
126
  */
127
  public function get_sortable_columns() {
128
  return $sortable = array(
129
- 'col_cron_type'=>array('cron_type')
130
  );
131
  }
132
 
133
  /**
134
  * Prepare the table with different parameters, pagination, columns and table elements
135
  */
136
- function prepare_items($cron_items) {
 
137
  $totalitems = count($cron_items);
138
 
139
  //How many to display per page?
54
  echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field">', __('Buy now', 'bulk-delete'), '</a>';
55
  echo '</li>';
56
 
57
+ echo '<li>';
58
+ echo '<strong>', __( 'Delete posts by title', 'bulk-delete' ), '</strong>', ' - ';
59
+ echo __( 'Adds the ability to delete posts based on title', 'bulk-delete' );
60
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-title">', __( 'More Info', 'bulk-delete' ), '</a>.';
61
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-title">', __( 'Buy now', 'bulk-delete' ), '</a>';
62
+ echo '</li>';
63
+
64
  echo '<li>';
65
  echo '<strong>', __('Schedule auto delete of Posts by Categories', 'bulk-delete'), '</strong>', ' - ';
66
  echo __('Adds the ability to schedule auto delete of posts based on categories', 'bulk-delete');
129
 
130
  /**
131
  * Decide which columns to activate the sorting functionality on
132
+ *
133
  * @return array $sortable, the array of columns that can be sorted by the user
134
  */
135
  public function get_sortable_columns() {
136
  return $sortable = array(
137
+ 'col_cron_type' => array( 'cron_type', true )
138
  );
139
  }
140
 
141
  /**
142
  * Prepare the table with different parameters, pagination, columns and table elements
143
  */
144
+ function prepare_items() {
145
+ $cron_items = Bulk_Delete_Util::get_cron_schedules();
146
  $totalitems = count($cron_items);
147
 
148
  //How many to display per page?
js/bulk-delete.js CHANGED
@@ -47,7 +47,7 @@ jQuery(document).ready(function () {
47
  // for post boxes
48
  postboxes.add_postbox_toggles(pagenow);
49
 
50
- jQuery.each(['_cats', '_tags', '_taxs', '_pages', '_post_status', '_types', '_cf', 'u_userrole'], function (index, value) {
51
  // invoke the date time picker
52
  jQuery('#smbd' + value + '_cron_start').datetimepicker({
53
  timeFormat: 'HH:mm:ss'
@@ -95,6 +95,15 @@ jQuery(document).ready(function () {
95
  alert(BULK_DELETE.error.enter_cf_key);
96
  }
97
 
 
 
 
 
 
 
 
 
 
98
  } else {
99
  if (jQuery(this).parent().prev().children('table').find(":checkbox:checked[value!='true']").size() > 0) {
100
  // monstrous selector
47
  // for post boxes
48
  postboxes.add_postbox_toggles(pagenow);
49
 
50
+ jQuery.each(['_cats', '_tags', '_taxs', '_pages', '_post_status', '_types', '_cf', '_title', 'u_userrole'], function (index, value) {
51
  // invoke the date time picker
52
  jQuery('#smbd' + value + '_cron_start').datetimepicker({
53
  timeFormat: 'HH:mm:ss'
95
  alert(BULK_DELETE.error.enter_cf_key);
96
  }
97
 
98
+ } else if (jQuery(this).val() === 'bulk-delete-by-title') {
99
+
100
+ if (jQuery('#smbd_title_value').val() !== '') {
101
+ valid = true;
102
+ } else {
103
+ // not valid
104
+ alert(BULK_DELETE.error.enter_title);
105
+ }
106
+
107
  } else {
108
  if (jQuery(this).parent().prev().children('table').find(":checkbox:checked[value!='true']").size() > 0) {
109
  // monstrous selector
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 4.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
- "POT-Creation-Date: 2013-12-08 12:31:36+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,616 +12,676 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: bulk-delete.php:113 bulk-delete.php:278 bulk-delete.php:304
 
 
 
 
16
  msgid "Bulk Delete Posts"
17
  msgstr ""
18
 
19
- #: bulk-delete.php:114 bulk-delete.php:275 bulk-delete.php:358
20
  msgid "Bulk Delete Users"
21
  msgstr ""
22
 
23
- #: bulk-delete.php:115 bulk-delete.php:415
24
  msgid "Bulk Delete Schedules"
25
  msgstr ""
26
 
27
- #: bulk-delete.php:145 bulk-delete.php:200
28
  msgid "About Plugin"
29
  msgstr ""
30
 
31
- #: bulk-delete.php:147 bulk-delete.php:202
32
  msgid "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."
33
  msgstr ""
34
 
35
- #: bulk-delete.php:154 bulk-delete.php:209
36
  msgid "More information"
37
  msgstr ""
38
 
39
- #: bulk-delete.php:155 bulk-delete.php:210
40
  msgid "Plugin Homepage/support"
41
  msgstr ""
42
 
43
- #: bulk-delete.php:156 bulk-delete.php:211
44
  msgid "Buy pro addons"
45
  msgstr ""
46
 
47
- #: bulk-delete.php:157 bulk-delete.php:212
48
  msgid "Plugin author's blog"
49
  msgstr ""
50
 
51
- #: bulk-delete.php:158 bulk-delete.php:213
52
  msgid "Other Plugin's by Author"
53
  msgstr ""
54
 
55
- #: bulk-delete.php:173
56
  msgid "By Post Status"
57
  msgstr ""
58
 
59
- #: bulk-delete.php:174
60
  msgid "By Category"
61
  msgstr ""
62
 
63
- #: bulk-delete.php:175
64
  msgid "By Tag"
65
  msgstr ""
66
 
67
- #: bulk-delete.php:176
68
  msgid "By Custom Taxonomy"
69
  msgstr ""
70
 
71
- #: bulk-delete.php:177
72
  msgid "By Custom Post Types"
73
  msgstr ""
74
 
75
- #: bulk-delete.php:178
76
  msgid "By Page"
77
  msgstr ""
78
 
79
- #: bulk-delete.php:179
80
  msgid "By URL"
81
  msgstr ""
82
 
83
- #: bulk-delete.php:180
84
  msgid "By Post Revision"
85
  msgstr ""
86
 
87
- #: bulk-delete.php:181
88
  msgid "By Custom Field"
89
  msgstr ""
90
 
91
- #: bulk-delete.php:182
 
 
 
 
92
  msgid "Debug Information"
93
  msgstr ""
94
 
95
- #: bulk-delete.php:228
96
  msgid "By User Role"
97
  msgstr ""
98
 
99
- #: bulk-delete.php:249
100
  msgid "Are you sure you want to delete all the selected posts"
101
  msgstr ""
102
 
103
- #: bulk-delete.php:250
104
  msgid "Are you sure you want to delete all the selected users"
105
  msgstr ""
106
 
107
- #: bulk-delete.php:254
108
  msgid "Please select posts from at least one option"
109
  msgstr ""
110
 
111
- #: bulk-delete.php:255
112
  msgid "Please enter at least one page url"
113
  msgstr ""
114
 
115
- #: bulk-delete.php:256
116
  msgid "Please enter some value for custom field key"
117
  msgstr ""
118
 
119
- #: bulk-delete.php:292
 
 
 
 
120
  msgid "Buy Addons"
121
  msgstr ""
122
 
123
- #: bulk-delete.php:320
124
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
125
  msgstr ""
126
 
127
- #: bulk-delete.php:348
128
  msgid "plugin"
129
  msgstr ""
130
 
131
- #: bulk-delete.php:348
132
  msgid "Version"
133
  msgstr ""
134
 
135
- #: bulk-delete.php:348
136
  msgid "by"
137
  msgstr ""
138
 
139
- #: bulk-delete.php:374
140
  msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
141
  msgstr ""
142
 
143
- #: bulk-delete.php:441
144
  msgid "The selected scheduled job was successfully deleted "
145
  msgstr ""
146
 
147
- #: bulk-delete.php:473
148
  msgid "Users from the selected userrole are scheduled for deletion."
149
  msgstr ""
150
 
151
- #: bulk-delete.php:474 bulk-delete.php:514 bulk-delete.php:545
152
- #: bulk-delete.php:578 bulk-delete.php:609 bulk-delete.php:643
153
- #: bulk-delete.php:678 bulk-delete.php:746
154
  msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
155
  msgstr ""
156
 
157
- #: bulk-delete.php:477
158
  msgid "Deleted %d user from the selected roles"
159
  msgid_plural "Deleted %d users from the selected role"
160
  msgstr[0] ""
161
  msgstr[1] ""
162
 
163
- #: bulk-delete.php:513
164
  msgid "Posts from the selected categories are scheduled for deletion."
165
  msgstr ""
166
 
167
- #: bulk-delete.php:517
168
  msgid "Deleted %d post from the selected categories"
169
  msgid_plural "Deleted %d posts from the selected categories"
170
  msgstr[0] ""
171
  msgstr[1] ""
172
 
173
- #: bulk-delete.php:544
174
  msgid "Posts from the selected tags are scheduled for deletion."
175
  msgstr ""
176
 
177
- #: bulk-delete.php:548
178
  msgid "Deleted %d post from the selected tags"
179
  msgid_plural "Deleted %d posts from the selected tags"
180
  msgstr[0] ""
181
  msgstr[1] ""
182
 
183
- #: bulk-delete.php:577
184
  msgid "Posts from the selected custom taxonomies are scheduled for deletion."
185
  msgstr ""
186
 
187
- #: bulk-delete.php:581
188
  msgid "Deleted %d post from the selected custom taxonomies"
189
  msgid_plural "Deleted %d posts from the selected custom taxonomies"
190
  msgstr[0] ""
191
  msgstr[1] ""
192
 
193
- #: bulk-delete.php:608
194
  msgid "Posts from the selected custom post type are scheduled for deletion."
195
  msgstr ""
196
 
197
- #: bulk-delete.php:612
198
  msgid "Deleted %d post from the selected custom post type"
199
  msgid_plural "Deleted %d posts from the selected custom post type"
200
  msgstr[0] ""
201
  msgstr[1] ""
202
 
203
- #: bulk-delete.php:642
204
  msgid "Posts with the selected status are scheduled for deletion."
205
  msgstr ""
206
 
207
- #: bulk-delete.php:646
208
  msgid "Deleted %d post with the selected post status"
209
  msgid_plural "Deleted %d posts with the selected post status"
210
  msgstr[0] ""
211
  msgstr[1] ""
212
 
213
- #: bulk-delete.php:677
214
  msgid "The selected pages are scheduled for deletion."
215
  msgstr ""
216
 
217
- #: bulk-delete.php:681
218
  msgid "Deleted %d page"
219
  msgid_plural "Deleted %d pages"
220
  msgstr[0] ""
221
  msgstr[1] ""
222
 
223
- #: bulk-delete.php:707
224
  msgid "Deleted %d post with the specified urls"
225
  msgid_plural "Deleted %d posts with the specified urls"
226
  msgstr[0] ""
227
  msgstr[1] ""
228
 
229
- #: bulk-delete.php:716
230
  msgid "Deleted %d post revision"
231
  msgid_plural "Deleted %d post revisions"
232
  msgstr[0] ""
233
  msgstr[1] ""
234
 
235
- #: bulk-delete.php:745
236
  msgid "Posts matching the selected custom field setting are scheduled for deletion."
237
  msgstr ""
238
 
239
- #: bulk-delete.php:749
240
  msgid "Deleted %d post using the selected custom field condition"
241
  msgid_plural "Deleted %d posts using the selected custom field condition"
242
  msgstr[0] ""
243
  msgstr[1] ""
244
 
 
 
 
 
 
 
 
 
 
 
245
  #: include/class-bulk-delete-posts.php:16
246
- #: include/class-bulk-delete-posts.php:126
247
- #: include/class-bulk-delete-posts.php:279
248
- #: include/class-bulk-delete-posts.php:399
249
- #: include/class-bulk-delete-posts.php:579
250
- #: include/class-bulk-delete-posts.php:711
251
- #: include/class-bulk-delete-posts.php:831
252
- #: include/class-bulk-delete-posts.php:878
253
- #: include/class-bulk-delete-posts.php:914
 
254
  #: include/class-bulk-delete-users.php:16
255
  msgid "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the page to fully enable it."
256
  msgstr ""
257
 
258
- #: include/class-bulk-delete-posts.php:26
259
- #: include/class-bulk-delete-posts.php:887
260
  msgid "Select the posts which you want to delete"
261
  msgstr ""
262
 
263
- #: include/class-bulk-delete-posts.php:33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  msgid "All Draft Posts"
265
  msgstr ""
266
 
267
- #: include/class-bulk-delete-posts.php:33
268
  msgid "Drafts"
269
  msgstr ""
270
 
271
- #: include/class-bulk-delete-posts.php:40
272
  msgid "All Pending posts"
273
  msgstr ""
274
 
275
- #: include/class-bulk-delete-posts.php:40
276
- #: include/class-bulk-delete-posts.php:47
277
- #: include/class-bulk-delete-posts.php:54
278
- #: include/class-bulk-delete-posts.php:175
279
- #: include/class-bulk-delete-posts.php:299
280
- #: include/class-bulk-delete-posts.php:483
281
- msgid "Posts"
282
- msgstr ""
283
-
284
- #: include/class-bulk-delete-posts.php:47
285
  msgid "All scheduled posts"
286
  msgstr ""
287
 
288
- #: include/class-bulk-delete-posts.php:54
289
  msgid "All private posts"
290
  msgstr ""
291
 
292
- #: include/class-bulk-delete-posts.php:60
293
- #: include/class-bulk-delete-posts.php:194
294
- #: include/class-bulk-delete-posts.php:316
295
- #: include/class-bulk-delete-posts.php:496
296
- #: include/class-bulk-delete-posts.php:635
297
- #: include/class-bulk-delete-posts.php:764
298
- #: include/class-bulk-delete-posts.php:851
 
 
 
 
299
  #: include/class-bulk-delete-users.php:42
300
  #: tmp_addon/bulk-delete-by-custom-field.php:80
 
301
  msgid "Choose your filtering options"
302
  msgstr ""
303
 
304
- #: include/class-bulk-delete-posts.php:67
305
- #: include/class-bulk-delete-posts.php:203
306
- #: include/class-bulk-delete-posts.php:325
307
- #: include/class-bulk-delete-posts.php:505
308
- #: include/class-bulk-delete-posts.php:644
 
 
 
 
309
  #: tmp_addon/bulk-delete-by-custom-field.php:89
 
310
  msgid "Only restrict to posts which are "
311
  msgstr ""
312
 
313
- #: include/class-bulk-delete-posts.php:69
314
- #: include/class-bulk-delete-posts.php:205
315
- #: include/class-bulk-delete-posts.php:327
316
- #: include/class-bulk-delete-posts.php:507
317
- #: include/class-bulk-delete-posts.php:646
318
- #: include/class-bulk-delete-posts.php:773
319
  #: tmp_addon/bulk-delete-by-custom-field.php:91
 
320
  msgid "older than"
321
  msgstr ""
322
 
323
- #: include/class-bulk-delete-posts.php:70
324
- #: include/class-bulk-delete-posts.php:206
325
- #: include/class-bulk-delete-posts.php:328
326
- #: include/class-bulk-delete-posts.php:508
327
- #: include/class-bulk-delete-posts.php:647
328
- #: include/class-bulk-delete-posts.php:774
329
  #: tmp_addon/bulk-delete-by-custom-field.php:92
 
330
  msgid "posted within last"
331
  msgstr ""
332
 
333
- #: include/class-bulk-delete-posts.php:72
334
- #: include/class-bulk-delete-posts.php:208
335
- #: include/class-bulk-delete-posts.php:330
336
- #: include/class-bulk-delete-posts.php:510
337
- #: include/class-bulk-delete-posts.php:649
338
- #: include/class-bulk-delete-posts.php:776
339
  #: include/class-bulk-delete-users.php:59
340
  #: tmp_addon/bulk-delete-by-custom-field.php:94
 
341
  msgid "days"
342
  msgstr ""
343
 
344
- #: include/class-bulk-delete-posts.php:78
345
- #: include/class-bulk-delete-posts.php:214
346
- #: include/class-bulk-delete-posts.php:336
347
- #: include/class-bulk-delete-posts.php:516
348
- #: include/class-bulk-delete-posts.php:655
349
- #: include/class-bulk-delete-posts.php:782
350
- #: include/class-bulk-delete-posts.php:857
351
  #: tmp_addon/bulk-delete-by-custom-field.php:100
 
352
  msgid "Move to Trash"
353
  msgstr ""
354
 
355
- #: include/class-bulk-delete-posts.php:79
356
- #: include/class-bulk-delete-posts.php:215
357
- #: include/class-bulk-delete-posts.php:337
358
- #: include/class-bulk-delete-posts.php:517
359
- #: include/class-bulk-delete-posts.php:656
360
- #: include/class-bulk-delete-posts.php:783
361
- #: include/class-bulk-delete-posts.php:858
362
  #: tmp_addon/bulk-delete-by-custom-field.php:101
 
363
  msgid "Delete permanently"
364
  msgstr ""
365
 
366
- #: include/class-bulk-delete-posts.php:86
367
- #: include/class-bulk-delete-posts.php:231
368
- #: include/class-bulk-delete-posts.php:353
369
- #: include/class-bulk-delete-posts.php:533
370
- #: include/class-bulk-delete-posts.php:665
371
- #: include/class-bulk-delete-posts.php:790
372
  #: tmp_addon/bulk-delete-by-custom-field.php:117
 
373
  msgid "Only delete first "
374
  msgstr ""
375
 
376
- #: include/class-bulk-delete-posts.php:87
377
- #: include/class-bulk-delete-posts.php:232
378
- #: include/class-bulk-delete-posts.php:354
379
- #: include/class-bulk-delete-posts.php:534
380
- #: include/class-bulk-delete-posts.php:666
381
- #: include/class-bulk-delete-posts.php:791
382
  #: tmp_addon/bulk-delete-by-custom-field.php:118
 
383
  msgid "posts."
384
  msgstr ""
385
 
386
- #: include/class-bulk-delete-posts.php:88
387
- #: include/class-bulk-delete-posts.php:233
388
- #: include/class-bulk-delete-posts.php:355
389
- #: include/class-bulk-delete-posts.php:535
390
- #: include/class-bulk-delete-posts.php:667
391
- #: include/class-bulk-delete-posts.php:792
392
  #: tmp_addon/bulk-delete-by-custom-field.php:119
 
393
  msgid "Use this option if there are more than 1000 posts and the script timesout."
394
  msgstr ""
395
 
396
- #: include/class-bulk-delete-posts.php:94
397
- #: include/class-bulk-delete-posts.php:239
398
- #: include/class-bulk-delete-posts.php:361
399
- #: include/class-bulk-delete-posts.php:541
400
- #: include/class-bulk-delete-posts.php:673
401
- #: include/class-bulk-delete-posts.php:798
402
  #: include/class-bulk-delete-users.php:83
403
  #: tmp_addon/bulk-delete-by-custom-field.php:125
 
404
  msgid "Delete now"
405
  msgstr ""
406
 
407
- #: include/class-bulk-delete-posts.php:95
408
- #: include/class-bulk-delete-posts.php:240
409
- #: include/class-bulk-delete-posts.php:362
410
- #: include/class-bulk-delete-posts.php:542
411
- #: include/class-bulk-delete-posts.php:674
412
- #: include/class-bulk-delete-posts.php:799
413
- #: include/class-bulk-delete-users.php:84 include/class-cron-list-table.php:117
414
  #: tmp_addon/bulk-delete-by-custom-field.php:126
 
415
  msgid "Schedule"
416
  msgstr ""
417
 
418
- #: include/class-bulk-delete-posts.php:96
419
- #: include/class-bulk-delete-posts.php:241
420
- #: include/class-bulk-delete-posts.php:363
421
- #: include/class-bulk-delete-posts.php:543
422
- #: include/class-bulk-delete-posts.php:675
423
- #: include/class-bulk-delete-posts.php:800
424
  #: include/class-bulk-delete-users.php:85
425
  #: tmp_addon/bulk-delete-by-custom-field.php:127
 
426
  msgid "repeat "
427
  msgstr ""
428
 
429
- #: include/class-bulk-delete-posts.php:98
430
- #: include/class-bulk-delete-posts.php:243
431
- #: include/class-bulk-delete-posts.php:365
432
- #: include/class-bulk-delete-posts.php:545
433
- #: include/class-bulk-delete-posts.php:677
434
- #: include/class-bulk-delete-posts.php:802
435
  #: include/class-bulk-delete-users.php:87
436
  #: tmp_addon/bulk-delete-by-custom-field.php:129
 
437
  msgid "Don't repeat"
438
  msgstr ""
439
 
440
- #: include/class-bulk-delete-posts.php:108
441
- #: include/class-bulk-delete-posts.php:253
442
- #: include/class-bulk-delete-posts.php:375
443
- #: include/class-bulk-delete-posts.php:555
444
- #: include/class-bulk-delete-posts.php:687
445
- #: include/class-bulk-delete-posts.php:812
446
  #: include/class-bulk-delete-users.php:97
447
  #: tmp_addon/bulk-delete-by-custom-field.php:139
 
448
  msgid "Only available in Pro Addon"
449
  msgstr ""
450
 
451
- #: include/class-bulk-delete-posts.php:115
452
- #: include/class-bulk-delete-posts.php:267
453
- #: include/class-bulk-delete-posts.php:382
454
- #: include/class-bulk-delete-posts.php:562
455
- #: include/class-bulk-delete-posts.php:694
456
- #: include/class-bulk-delete-posts.php:819
457
- #: include/class-bulk-delete-posts.php:866
458
- #: include/class-bulk-delete-posts.php:902
459
  #: include/class-bulk-delete-users.php:111
460
  #: tmp_addon/bulk-delete-by-custom-field.php:153
 
461
  msgid "Bulk Delete "
462
  msgstr ""
463
 
464
- #: include/class-bulk-delete-posts.php:139
465
  msgid "Select the post type whose category posts you want to delete"
466
  msgstr ""
467
 
468
- #: include/class-bulk-delete-posts.php:158
469
  msgid "Select the categories whose post you want to delete"
470
  msgstr ""
471
 
472
- #: include/class-bulk-delete-posts.php:159
473
  msgid "Note: The post count below for each category is the total number of posts in that category, irrespective of post type"
474
  msgstr ""
475
 
476
- #: include/class-bulk-delete-posts.php:186
477
  msgid "All Categories"
478
  msgstr ""
479
 
480
- #: include/class-bulk-delete-posts.php:221
481
- #: include/class-bulk-delete-posts.php:343
482
- #: include/class-bulk-delete-posts.php:523
483
  #: tmp_addon/bulk-delete-by-custom-field.php:107
 
484
  msgid "Public posts"
485
  msgstr ""
486
 
487
- #: include/class-bulk-delete-posts.php:222
488
- #: include/class-bulk-delete-posts.php:344
489
- #: include/class-bulk-delete-posts.php:524
490
  #: tmp_addon/bulk-delete-by-custom-field.php:108
 
491
  msgid "Private Posts"
492
  msgstr ""
493
 
494
- #: include/class-bulk-delete-posts.php:259
495
  #: include/class-bulk-delete-users.php:103
496
  #: tmp_addon/bulk-delete-by-custom-field.php:145
 
497
  msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
498
  msgstr ""
499
 
500
- #: include/class-bulk-delete-posts.php:286
501
  msgid "Select the tags whose post you want to delete"
502
  msgstr ""
503
 
504
- #: include/class-bulk-delete-posts.php:310
505
  msgid "All Tags"
506
  msgstr ""
507
 
508
- #: include/class-bulk-delete-posts.php:388
509
  msgid "You don't have any posts assigned to tags in this blog."
510
  msgstr ""
511
 
512
- #: include/class-bulk-delete-posts.php:430
513
  msgid "Select the post type whose taxonomy posts you want to delete"
514
  msgstr ""
515
 
516
- #: include/class-bulk-delete-posts.php:450
517
  msgid "Select the taxonomies whose post you want to delete"
518
  msgstr ""
519
 
520
- #: include/class-bulk-delete-posts.php:469
521
  msgid "The selected taxonomy has the following terms. Select the terms whose post you want to delete"
522
  msgstr ""
523
 
524
- #: include/class-bulk-delete-posts.php:470
525
  msgid "Note: The post count below for each term is the total number of posts in that term, irrespective of post type"
526
  msgstr ""
527
 
528
- #: include/class-bulk-delete-posts.php:568
529
  msgid "You don't have any posts assigned to custom taxonomies in this blog."
530
  msgstr ""
531
 
532
- #: include/class-bulk-delete-posts.php:615
533
  msgid "Select the custom post type whose post you want to delete"
534
  msgstr ""
535
 
536
- #: include/class-bulk-delete-posts.php:700
537
  msgid "You don't have any posts assigned to custom post types in this blog."
538
  msgstr ""
539
 
540
- #: include/class-bulk-delete-posts.php:723
541
  msgid "Select the pages which you want to delete"
542
  msgstr ""
543
 
544
- #: include/class-bulk-delete-posts.php:730
545
  msgid "All Published Pages"
546
  msgstr ""
547
 
548
- #: include/class-bulk-delete-posts.php:730
549
- #: include/class-bulk-delete-posts.php:737
550
- #: include/class-bulk-delete-posts.php:744
551
- #: include/class-bulk-delete-posts.php:751
552
- #: include/class-bulk-delete-posts.php:758
553
  msgid "Pages"
554
  msgstr ""
555
 
556
- #: include/class-bulk-delete-posts.php:737
557
  msgid "All Draft Pages"
558
  msgstr ""
559
 
560
- #: include/class-bulk-delete-posts.php:744
561
  msgid "All Scheduled Pages"
562
  msgstr ""
563
 
564
- #: include/class-bulk-delete-posts.php:751
565
  msgid "All Pending Pages"
566
  msgstr ""
567
 
568
- #: include/class-bulk-delete-posts.php:758
569
  msgid "All Private Pages"
570
  msgstr ""
571
 
572
- #: include/class-bulk-delete-posts.php:771
573
  msgid "Only restrict to pages which are "
574
  msgstr ""
575
 
576
- #: include/class-bulk-delete-posts.php:837
577
  msgid "Delete these specific pages"
578
  msgstr ""
579
 
580
- #: include/class-bulk-delete-posts.php:843
581
  msgid "Enter one post url (not post ids) per line"
582
  msgstr ""
583
 
584
- #: include/class-bulk-delete-posts.php:894
585
  msgid "All Revisions"
586
  msgstr ""
587
 
588
- #: include/class-bulk-delete-posts.php:894
589
  msgid "Revisions"
590
  msgstr ""
591
 
592
- #: include/class-bulk-delete-posts.php:923
593
  msgid "You need \"Bulk Delete by Custom Field\" Addon, to delete post by custom field."
594
  msgstr ""
595
 
596
- #: include/class-bulk-delete-posts.php:941
 
 
 
 
597
  msgid "If you are seeing a blank page after clicking the Bulk Delete button, then "
598
  msgstr ""
599
 
600
- #: include/class-bulk-delete-posts.php:941
601
  msgid "check out this FAQ"
602
  msgstr ""
603
 
604
- #: include/class-bulk-delete-posts.php:942
605
  msgid "You also need need the following debug information."
606
  msgstr ""
607
 
608
- #: include/class-bulk-delete-posts.php:946
609
  msgid "PHP Version "
610
  msgstr ""
611
 
612
- #: include/class-bulk-delete-posts.php:950
613
  msgid "Plugin Version "
614
  msgstr ""
615
 
616
- #: include/class-bulk-delete-posts.php:954
617
  msgid "Available memory size "
618
  msgstr ""
619
 
620
- #: include/class-bulk-delete-posts.php:958
621
  msgid "Script time out "
622
  msgstr ""
623
 
624
- #: include/class-bulk-delete-posts.php:962
625
  msgid "Script input time "
626
  msgstr ""
627
 
@@ -678,6 +738,7 @@ msgstr ""
678
  #: include/class-cron-list-table.php:67 include/class-cron-list-table.php:74
679
  #: include/class-cron-list-table.php:81 include/class-cron-list-table.php:88
680
  #: include/class-cron-list-table.php:95 include/class-cron-list-table.php:102
 
681
  msgid "More Info"
682
  msgstr ""
683
 
@@ -685,82 +746,91 @@ msgstr ""
685
  #: include/class-cron-list-table.php:68 include/class-cron-list-table.php:75
686
  #: include/class-cron-list-table.php:82 include/class-cron-list-table.php:89
687
  #: include/class-cron-list-table.php:96 include/class-cron-list-table.php:103
 
688
  msgid "Buy now"
689
  msgstr ""
690
 
691
  #: include/class-cron-list-table.php:58
692
- msgid "Schedule auto delete of Posts by Categories"
693
  msgstr ""
694
 
695
  #: include/class-cron-list-table.php:59
696
- msgid "Adds the ability to schedule auto delete of posts based on categories"
697
  msgstr ""
698
 
699
  #: include/class-cron-list-table.php:65
700
- msgid "Schedule auto delete of Posts by Tags"
701
  msgstr ""
702
 
703
  #: include/class-cron-list-table.php:66
704
- msgid "Adds the ability to schedule auto delete of posts based on tags"
705
  msgstr ""
706
 
707
  #: include/class-cron-list-table.php:72
708
- msgid "Schedule auto delete of posts by Custom Taxonomy"
709
  msgstr ""
710
 
711
  #: include/class-cron-list-table.php:73
712
- msgid "Adds the ability to schedule auto delete of posts based on custom taxonomies"
713
  msgstr ""
714
 
715
  #: include/class-cron-list-table.php:79
716
- msgid "Schedule auto delete of Posts by Custom Post Type"
717
  msgstr ""
718
 
719
  #: include/class-cron-list-table.php:80
720
- msgid "Adds the ability to schedule auto delete of posts based on custom post types"
721
  msgstr ""
722
 
723
  #: include/class-cron-list-table.php:86
724
- msgid "Schedule auto delete of Pages"
725
  msgstr ""
726
 
727
  #: include/class-cron-list-table.php:87
728
- msgid "Adds the ability to schedule auto delete pages"
729
  msgstr ""
730
 
731
  #: include/class-cron-list-table.php:93
732
- msgid "Schedule auto delete of Posts by Post Status"
733
  msgstr ""
734
 
735
  #: include/class-cron-list-table.php:94
736
- msgid "Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc."
737
  msgstr ""
738
 
739
  #: include/class-cron-list-table.php:100
740
- msgid "Schedule auto delete of Users by User Role"
741
  msgstr ""
742
 
743
  #: include/class-cron-list-table.php:101
 
 
 
 
 
 
 
 
744
  msgid "Adds the ability to schedule auto delete of users based on user role"
745
  msgstr ""
746
 
747
- #: include/class-cron-list-table.php:116
748
  msgid "Next Due (GMT/UTC)"
749
  msgstr ""
750
 
751
- #: include/class-cron-list-table.php:118
752
  msgid "Type"
753
  msgstr ""
754
 
755
- #: include/class-cron-list-table.php:119
756
  msgid "Options"
757
  msgstr ""
758
 
759
- #: include/class-cron-list-table.php:171
760
  msgid "Delete"
761
  msgstr ""
762
 
763
- #: include/class-cron-list-table.php:197
764
  msgid "You have not scheduled any bulk delete jobs."
765
  msgstr ""
766
 
@@ -773,10 +843,12 @@ msgid "Key "
773
  msgstr ""
774
 
775
  #: tmp_addon/bulk-delete-by-custom-field.php:64
 
776
  msgid "equal to"
777
  msgstr ""
778
 
779
  #: tmp_addon/bulk-delete-by-custom-field.php:65
 
780
  msgid "not equal to"
781
  msgstr ""
782
 
@@ -787,6 +859,30 @@ msgstr ""
787
  #: tmp_addon/bulk-delete-by-custom-field.php:74
788
  msgid "If you want to check for null values, then leave the value column blank"
789
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  #. Plugin Name of the plugin/theme
791
  msgid "Bulk Delete"
792
  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 4.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
+ "POT-Creation-Date: 2013-12-16 14:51:02+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:116
16
+ msgid "Bulk Delete"
17
+ msgstr ""
18
+
19
+ #: bulk-delete.php:118 bulk-delete.php:285 bulk-delete.php:310
20
  msgid "Bulk Delete Posts"
21
  msgstr ""
22
 
23
+ #: bulk-delete.php:119 bulk-delete.php:282 bulk-delete.php:363
24
  msgid "Bulk Delete Users"
25
  msgstr ""
26
 
27
+ #: bulk-delete.php:120 bulk-delete.php:419
28
  msgid "Bulk Delete Schedules"
29
  msgstr ""
30
 
31
+ #: bulk-delete.php:150 bulk-delete.php:206
32
  msgid "About Plugin"
33
  msgstr ""
34
 
35
+ #: bulk-delete.php:152 bulk-delete.php:208
36
  msgid "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."
37
  msgstr ""
38
 
39
+ #: bulk-delete.php:159 bulk-delete.php:215
40
  msgid "More information"
41
  msgstr ""
42
 
43
+ #: bulk-delete.php:160 bulk-delete.php:216
44
  msgid "Plugin Homepage/support"
45
  msgstr ""
46
 
47
+ #: bulk-delete.php:161 bulk-delete.php:217
48
  msgid "Buy pro addons"
49
  msgstr ""
50
 
51
+ #: bulk-delete.php:162 bulk-delete.php:218
52
  msgid "Plugin author's blog"
53
  msgstr ""
54
 
55
+ #: bulk-delete.php:163 bulk-delete.php:219
56
  msgid "Other Plugin's by Author"
57
  msgstr ""
58
 
59
+ #: bulk-delete.php:178
60
  msgid "By Post Status"
61
  msgstr ""
62
 
63
+ #: bulk-delete.php:179
64
  msgid "By Category"
65
  msgstr ""
66
 
67
+ #: bulk-delete.php:180
68
  msgid "By Tag"
69
  msgstr ""
70
 
71
+ #: bulk-delete.php:181
72
  msgid "By Custom Taxonomy"
73
  msgstr ""
74
 
75
+ #: bulk-delete.php:182
76
  msgid "By Custom Post Types"
77
  msgstr ""
78
 
79
+ #: bulk-delete.php:183
80
  msgid "By Page"
81
  msgstr ""
82
 
83
+ #: bulk-delete.php:184
84
  msgid "By URL"
85
  msgstr ""
86
 
87
+ #: bulk-delete.php:185
88
  msgid "By Post Revision"
89
  msgstr ""
90
 
91
+ #: bulk-delete.php:186
92
  msgid "By Custom Field"
93
  msgstr ""
94
 
95
+ #: bulk-delete.php:187
96
+ msgid "By Title"
97
+ msgstr ""
98
+
99
+ #: bulk-delete.php:188
100
  msgid "Debug Information"
101
  msgstr ""
102
 
103
+ #: bulk-delete.php:234
104
  msgid "By User Role"
105
  msgstr ""
106
 
107
+ #: bulk-delete.php:255
108
  msgid "Are you sure you want to delete all the selected posts"
109
  msgstr ""
110
 
111
+ #: bulk-delete.php:256
112
  msgid "Are you sure you want to delete all the selected users"
113
  msgstr ""
114
 
115
+ #: bulk-delete.php:260
116
  msgid "Please select posts from at least one option"
117
  msgstr ""
118
 
119
+ #: bulk-delete.php:261
120
  msgid "Please enter at least one page url"
121
  msgstr ""
122
 
123
+ #: bulk-delete.php:262
124
  msgid "Please enter some value for custom field key"
125
  msgstr ""
126
 
127
+ #: bulk-delete.php:263
128
+ msgid "Please enter some value for title"
129
+ msgstr ""
130
+
131
+ #: bulk-delete.php:299
132
  msgid "Buy Addons"
133
  msgstr ""
134
 
135
+ #: bulk-delete.php:326
136
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
137
  msgstr ""
138
 
139
+ #: bulk-delete.php:354
140
  msgid "plugin"
141
  msgstr ""
142
 
143
+ #: bulk-delete.php:354
144
  msgid "Version"
145
  msgstr ""
146
 
147
+ #: bulk-delete.php:354
148
  msgid "by"
149
  msgstr ""
150
 
151
+ #: bulk-delete.php:379
152
  msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
153
  msgstr ""
154
 
155
+ #: bulk-delete.php:445
156
  msgid "The selected scheduled job was successfully deleted "
157
  msgstr ""
158
 
159
+ #: bulk-delete.php:477
160
  msgid "Users from the selected userrole are scheduled for deletion."
161
  msgstr ""
162
 
163
+ #: bulk-delete.php:478 bulk-delete.php:518 bulk-delete.php:549
164
+ #: bulk-delete.php:582 bulk-delete.php:613 bulk-delete.php:649
165
+ #: bulk-delete.php:684 bulk-delete.php:752 bulk-delete.php:787
166
  msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
167
  msgstr ""
168
 
169
+ #: bulk-delete.php:481
170
  msgid "Deleted %d user from the selected roles"
171
  msgid_plural "Deleted %d users from the selected role"
172
  msgstr[0] ""
173
  msgstr[1] ""
174
 
175
+ #: bulk-delete.php:517
176
  msgid "Posts from the selected categories are scheduled for deletion."
177
  msgstr ""
178
 
179
+ #: bulk-delete.php:521
180
  msgid "Deleted %d post from the selected categories"
181
  msgid_plural "Deleted %d posts from the selected categories"
182
  msgstr[0] ""
183
  msgstr[1] ""
184
 
185
+ #: bulk-delete.php:548
186
  msgid "Posts from the selected tags are scheduled for deletion."
187
  msgstr ""
188
 
189
+ #: bulk-delete.php:552
190
  msgid "Deleted %d post from the selected tags"
191
  msgid_plural "Deleted %d posts from the selected tags"
192
  msgstr[0] ""
193
  msgstr[1] ""
194
 
195
+ #: bulk-delete.php:581
196
  msgid "Posts from the selected custom taxonomies are scheduled for deletion."
197
  msgstr ""
198
 
199
+ #: bulk-delete.php:585
200
  msgid "Deleted %d post from the selected custom taxonomies"
201
  msgid_plural "Deleted %d posts from the selected custom taxonomies"
202
  msgstr[0] ""
203
  msgstr[1] ""
204
 
205
+ #: bulk-delete.php:612
206
  msgid "Posts from the selected custom post type are scheduled for deletion."
207
  msgstr ""
208
 
209
+ #: bulk-delete.php:616
210
  msgid "Deleted %d post from the selected custom post type"
211
  msgid_plural "Deleted %d posts from the selected custom post type"
212
  msgstr[0] ""
213
  msgstr[1] ""
214
 
215
+ #: bulk-delete.php:648
216
  msgid "Posts with the selected status are scheduled for deletion."
217
  msgstr ""
218
 
219
+ #: bulk-delete.php:652
220
  msgid "Deleted %d post with the selected post status"
221
  msgid_plural "Deleted %d posts with the selected post status"
222
  msgstr[0] ""
223
  msgstr[1] ""
224
 
225
+ #: bulk-delete.php:683
226
  msgid "The selected pages are scheduled for deletion."
227
  msgstr ""
228
 
229
+ #: bulk-delete.php:687
230
  msgid "Deleted %d page"
231
  msgid_plural "Deleted %d pages"
232
  msgstr[0] ""
233
  msgstr[1] ""
234
 
235
+ #: bulk-delete.php:713
236
  msgid "Deleted %d post with the specified urls"
237
  msgid_plural "Deleted %d posts with the specified urls"
238
  msgstr[0] ""
239
  msgstr[1] ""
240
 
241
+ #: bulk-delete.php:722
242
  msgid "Deleted %d post revision"
243
  msgid_plural "Deleted %d post revisions"
244
  msgstr[0] ""
245
  msgstr[1] ""
246
 
247
+ #: bulk-delete.php:751
248
  msgid "Posts matching the selected custom field setting are scheduled for deletion."
249
  msgstr ""
250
 
251
+ #: bulk-delete.php:755
252
  msgid "Deleted %d post using the selected custom field condition"
253
  msgid_plural "Deleted %d posts using the selected custom field condition"
254
  msgstr[0] ""
255
  msgstr[1] ""
256
 
257
+ #: bulk-delete.php:786
258
+ msgid "Posts matching the selected title setting are scheduled for deletion."
259
+ msgstr ""
260
+
261
+ #: bulk-delete.php:790
262
+ msgid "Deleted %d post using the selected title condition"
263
+ msgid_plural "Deleted %d posts using the selected title condition"
264
+ msgstr[0] ""
265
+ msgstr[1] ""
266
+
267
  #: include/class-bulk-delete-posts.php:16
268
+ #: include/class-bulk-delete-posts.php:149
269
+ #: include/class-bulk-delete-posts.php:302
270
+ #: include/class-bulk-delete-posts.php:422
271
+ #: include/class-bulk-delete-posts.php:602
272
+ #: include/class-bulk-delete-posts.php:734
273
+ #: include/class-bulk-delete-posts.php:854
274
+ #: include/class-bulk-delete-posts.php:901
275
+ #: include/class-bulk-delete-posts.php:937
276
+ #: include/class-bulk-delete-posts.php:967
277
  #: include/class-bulk-delete-users.php:16
278
  msgid "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the page to fully enable it."
279
  msgstr ""
280
 
281
+ #: include/class-bulk-delete-posts.php:29
282
+ #: include/class-bulk-delete-posts.php:910
283
  msgid "Select the posts which you want to delete"
284
  msgstr ""
285
 
286
+ #: include/class-bulk-delete-posts.php:36
287
+ msgid "All publish posts"
288
+ msgstr ""
289
+
290
+ #: include/class-bulk-delete-posts.php:36
291
+ #: include/class-bulk-delete-posts.php:50
292
+ #: include/class-bulk-delete-posts.php:57
293
+ #: include/class-bulk-delete-posts.php:64
294
+ #: include/class-bulk-delete-posts.php:71
295
+ #: include/class-bulk-delete-posts.php:198
296
+ #: include/class-bulk-delete-posts.php:322
297
+ #: include/class-bulk-delete-posts.php:506
298
+ msgid "Posts"
299
+ msgstr ""
300
+
301
+ #: include/class-bulk-delete-posts.php:43
302
  msgid "All Draft Posts"
303
  msgstr ""
304
 
305
+ #: include/class-bulk-delete-posts.php:43
306
  msgid "Drafts"
307
  msgstr ""
308
 
309
+ #: include/class-bulk-delete-posts.php:50
310
  msgid "All Pending posts"
311
  msgstr ""
312
 
313
+ #: include/class-bulk-delete-posts.php:57
 
 
 
 
 
 
 
 
 
314
  msgid "All scheduled posts"
315
  msgstr ""
316
 
317
+ #: include/class-bulk-delete-posts.php:64
318
  msgid "All private posts"
319
  msgstr ""
320
 
321
+ #: include/class-bulk-delete-posts.php:71
322
+ msgid "All Sticky posts"
323
+ msgstr ""
324
+
325
+ #: include/class-bulk-delete-posts.php:77
326
+ #: include/class-bulk-delete-posts.php:217
327
+ #: include/class-bulk-delete-posts.php:339
328
+ #: include/class-bulk-delete-posts.php:519
329
+ #: include/class-bulk-delete-posts.php:658
330
+ #: include/class-bulk-delete-posts.php:787
331
+ #: include/class-bulk-delete-posts.php:874
332
  #: include/class-bulk-delete-users.php:42
333
  #: tmp_addon/bulk-delete-by-custom-field.php:80
334
+ #: tmp_addon/bulk-delete-by-title.php:84
335
  msgid "Choose your filtering options"
336
  msgstr ""
337
 
338
+ #: include/class-bulk-delete-posts.php:83
339
+ msgid "Note: The date filter will not work for sticky posts"
340
+ msgstr ""
341
+
342
+ #: include/class-bulk-delete-posts.php:90
343
+ #: include/class-bulk-delete-posts.php:226
344
+ #: include/class-bulk-delete-posts.php:348
345
+ #: include/class-bulk-delete-posts.php:528
346
+ #: include/class-bulk-delete-posts.php:667
347
  #: tmp_addon/bulk-delete-by-custom-field.php:89
348
+ #: tmp_addon/bulk-delete-by-title.php:93
349
  msgid "Only restrict to posts which are "
350
  msgstr ""
351
 
352
+ #: include/class-bulk-delete-posts.php:92
353
+ #: include/class-bulk-delete-posts.php:228
354
+ #: include/class-bulk-delete-posts.php:350
355
+ #: include/class-bulk-delete-posts.php:530
356
+ #: include/class-bulk-delete-posts.php:669
357
+ #: include/class-bulk-delete-posts.php:796
358
  #: tmp_addon/bulk-delete-by-custom-field.php:91
359
+ #: tmp_addon/bulk-delete-by-title.php:95
360
  msgid "older than"
361
  msgstr ""
362
 
363
+ #: include/class-bulk-delete-posts.php:93
364
+ #: include/class-bulk-delete-posts.php:229
365
+ #: include/class-bulk-delete-posts.php:351
366
+ #: include/class-bulk-delete-posts.php:531
367
+ #: include/class-bulk-delete-posts.php:670
368
+ #: include/class-bulk-delete-posts.php:797
369
  #: tmp_addon/bulk-delete-by-custom-field.php:92
370
+ #: tmp_addon/bulk-delete-by-title.php:96
371
  msgid "posted within last"
372
  msgstr ""
373
 
374
+ #: include/class-bulk-delete-posts.php:95
375
+ #: include/class-bulk-delete-posts.php:231
376
+ #: include/class-bulk-delete-posts.php:353
377
+ #: include/class-bulk-delete-posts.php:533
378
+ #: include/class-bulk-delete-posts.php:672
379
+ #: include/class-bulk-delete-posts.php:799
380
  #: include/class-bulk-delete-users.php:59
381
  #: tmp_addon/bulk-delete-by-custom-field.php:94
382
+ #: tmp_addon/bulk-delete-by-title.php:98
383
  msgid "days"
384
  msgstr ""
385
 
386
+ #: include/class-bulk-delete-posts.php:101
387
+ #: include/class-bulk-delete-posts.php:237
388
+ #: include/class-bulk-delete-posts.php:359
389
+ #: include/class-bulk-delete-posts.php:539
390
+ #: include/class-bulk-delete-posts.php:678
391
+ #: include/class-bulk-delete-posts.php:805
392
+ #: include/class-bulk-delete-posts.php:880
393
  #: tmp_addon/bulk-delete-by-custom-field.php:100
394
+ #: tmp_addon/bulk-delete-by-title.php:104
395
  msgid "Move to Trash"
396
  msgstr ""
397
 
398
+ #: include/class-bulk-delete-posts.php:102
399
+ #: include/class-bulk-delete-posts.php:238
400
+ #: include/class-bulk-delete-posts.php:360
401
+ #: include/class-bulk-delete-posts.php:540
402
+ #: include/class-bulk-delete-posts.php:679
403
+ #: include/class-bulk-delete-posts.php:806
404
+ #: include/class-bulk-delete-posts.php:881
405
  #: tmp_addon/bulk-delete-by-custom-field.php:101
406
+ #: tmp_addon/bulk-delete-by-title.php:105
407
  msgid "Delete permanently"
408
  msgstr ""
409
 
410
+ #: include/class-bulk-delete-posts.php:109
411
+ #: include/class-bulk-delete-posts.php:254
412
+ #: include/class-bulk-delete-posts.php:376
413
+ #: include/class-bulk-delete-posts.php:556
414
+ #: include/class-bulk-delete-posts.php:688
415
+ #: include/class-bulk-delete-posts.php:813
416
  #: tmp_addon/bulk-delete-by-custom-field.php:117
417
+ #: tmp_addon/bulk-delete-by-title.php:121
418
  msgid "Only delete first "
419
  msgstr ""
420
 
421
+ #: include/class-bulk-delete-posts.php:110
422
+ #: include/class-bulk-delete-posts.php:255
423
+ #: include/class-bulk-delete-posts.php:377
424
+ #: include/class-bulk-delete-posts.php:557
425
+ #: include/class-bulk-delete-posts.php:689
426
+ #: include/class-bulk-delete-posts.php:814
427
  #: tmp_addon/bulk-delete-by-custom-field.php:118
428
+ #: tmp_addon/bulk-delete-by-title.php:122
429
  msgid "posts."
430
  msgstr ""
431
 
432
+ #: include/class-bulk-delete-posts.php:111
433
+ #: include/class-bulk-delete-posts.php:256
434
+ #: include/class-bulk-delete-posts.php:378
435
+ #: include/class-bulk-delete-posts.php:558
436
+ #: include/class-bulk-delete-posts.php:690
437
+ #: include/class-bulk-delete-posts.php:815
438
  #: tmp_addon/bulk-delete-by-custom-field.php:119
439
+ #: tmp_addon/bulk-delete-by-title.php:123
440
  msgid "Use this option if there are more than 1000 posts and the script timesout."
441
  msgstr ""
442
 
443
+ #: include/class-bulk-delete-posts.php:117
444
+ #: include/class-bulk-delete-posts.php:262
445
+ #: include/class-bulk-delete-posts.php:384
446
+ #: include/class-bulk-delete-posts.php:564
447
+ #: include/class-bulk-delete-posts.php:696
448
+ #: include/class-bulk-delete-posts.php:821
449
  #: include/class-bulk-delete-users.php:83
450
  #: tmp_addon/bulk-delete-by-custom-field.php:125
451
+ #: tmp_addon/bulk-delete-by-title.php:129
452
  msgid "Delete now"
453
  msgstr ""
454
 
455
+ #: include/class-bulk-delete-posts.php:118
456
+ #: include/class-bulk-delete-posts.php:263
457
+ #: include/class-bulk-delete-posts.php:385
458
+ #: include/class-bulk-delete-posts.php:565
459
+ #: include/class-bulk-delete-posts.php:697
460
+ #: include/class-bulk-delete-posts.php:822
461
+ #: include/class-bulk-delete-users.php:84 include/class-cron-list-table.php:124
462
  #: tmp_addon/bulk-delete-by-custom-field.php:126
463
+ #: tmp_addon/bulk-delete-by-title.php:130
464
  msgid "Schedule"
465
  msgstr ""
466
 
467
+ #: include/class-bulk-delete-posts.php:119
468
+ #: include/class-bulk-delete-posts.php:264
469
+ #: include/class-bulk-delete-posts.php:386
470
+ #: include/class-bulk-delete-posts.php:566
471
+ #: include/class-bulk-delete-posts.php:698
472
+ #: include/class-bulk-delete-posts.php:823
473
  #: include/class-bulk-delete-users.php:85
474
  #: tmp_addon/bulk-delete-by-custom-field.php:127
475
+ #: tmp_addon/bulk-delete-by-title.php:131
476
  msgid "repeat "
477
  msgstr ""
478
 
479
+ #: include/class-bulk-delete-posts.php:121
480
+ #: include/class-bulk-delete-posts.php:266
481
+ #: include/class-bulk-delete-posts.php:388
482
+ #: include/class-bulk-delete-posts.php:568
483
+ #: include/class-bulk-delete-posts.php:700
484
+ #: include/class-bulk-delete-posts.php:825
485
  #: include/class-bulk-delete-users.php:87
486
  #: tmp_addon/bulk-delete-by-custom-field.php:129
487
+ #: tmp_addon/bulk-delete-by-title.php:133
488
  msgid "Don't repeat"
489
  msgstr ""
490
 
491
+ #: include/class-bulk-delete-posts.php:131
492
+ #: include/class-bulk-delete-posts.php:276
493
+ #: include/class-bulk-delete-posts.php:398
494
+ #: include/class-bulk-delete-posts.php:578
495
+ #: include/class-bulk-delete-posts.php:710
496
+ #: include/class-bulk-delete-posts.php:835
497
  #: include/class-bulk-delete-users.php:97
498
  #: tmp_addon/bulk-delete-by-custom-field.php:139
499
+ #: tmp_addon/bulk-delete-by-title.php:143
500
  msgid "Only available in Pro Addon"
501
  msgstr ""
502
 
503
+ #: include/class-bulk-delete-posts.php:138
504
+ #: include/class-bulk-delete-posts.php:290
505
+ #: include/class-bulk-delete-posts.php:405
506
+ #: include/class-bulk-delete-posts.php:585
507
+ #: include/class-bulk-delete-posts.php:717
508
+ #: include/class-bulk-delete-posts.php:842
509
+ #: include/class-bulk-delete-posts.php:889
510
+ #: include/class-bulk-delete-posts.php:925
511
  #: include/class-bulk-delete-users.php:111
512
  #: tmp_addon/bulk-delete-by-custom-field.php:153
513
+ #: tmp_addon/bulk-delete-by-title.php:157
514
  msgid "Bulk Delete "
515
  msgstr ""
516
 
517
+ #: include/class-bulk-delete-posts.php:162
518
  msgid "Select the post type whose category posts you want to delete"
519
  msgstr ""
520
 
521
+ #: include/class-bulk-delete-posts.php:181
522
  msgid "Select the categories whose post you want to delete"
523
  msgstr ""
524
 
525
+ #: include/class-bulk-delete-posts.php:182
526
  msgid "Note: The post count below for each category is the total number of posts in that category, irrespective of post type"
527
  msgstr ""
528
 
529
+ #: include/class-bulk-delete-posts.php:209
530
  msgid "All Categories"
531
  msgstr ""
532
 
533
+ #: include/class-bulk-delete-posts.php:244
534
+ #: include/class-bulk-delete-posts.php:366
535
+ #: include/class-bulk-delete-posts.php:546
536
  #: tmp_addon/bulk-delete-by-custom-field.php:107
537
+ #: tmp_addon/bulk-delete-by-title.php:111
538
  msgid "Public posts"
539
  msgstr ""
540
 
541
+ #: include/class-bulk-delete-posts.php:245
542
+ #: include/class-bulk-delete-posts.php:367
543
+ #: include/class-bulk-delete-posts.php:547
544
  #: tmp_addon/bulk-delete-by-custom-field.php:108
545
+ #: tmp_addon/bulk-delete-by-title.php:112
546
  msgid "Private Posts"
547
  msgstr ""
548
 
549
+ #: include/class-bulk-delete-posts.php:282
550
  #: include/class-bulk-delete-users.php:103
551
  #: tmp_addon/bulk-delete-by-custom-field.php:145
552
+ #: tmp_addon/bulk-delete-by-title.php:149
553
  msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
554
  msgstr ""
555
 
556
+ #: include/class-bulk-delete-posts.php:309
557
  msgid "Select the tags whose post you want to delete"
558
  msgstr ""
559
 
560
+ #: include/class-bulk-delete-posts.php:333
561
  msgid "All Tags"
562
  msgstr ""
563
 
564
+ #: include/class-bulk-delete-posts.php:411
565
  msgid "You don't have any posts assigned to tags in this blog."
566
  msgstr ""
567
 
568
+ #: include/class-bulk-delete-posts.php:453
569
  msgid "Select the post type whose taxonomy posts you want to delete"
570
  msgstr ""
571
 
572
+ #: include/class-bulk-delete-posts.php:473
573
  msgid "Select the taxonomies whose post you want to delete"
574
  msgstr ""
575
 
576
+ #: include/class-bulk-delete-posts.php:492
577
  msgid "The selected taxonomy has the following terms. Select the terms whose post you want to delete"
578
  msgstr ""
579
 
580
+ #: include/class-bulk-delete-posts.php:493
581
  msgid "Note: The post count below for each term is the total number of posts in that term, irrespective of post type"
582
  msgstr ""
583
 
584
+ #: include/class-bulk-delete-posts.php:591
585
  msgid "You don't have any posts assigned to custom taxonomies in this blog."
586
  msgstr ""
587
 
588
+ #: include/class-bulk-delete-posts.php:638
589
  msgid "Select the custom post type whose post you want to delete"
590
  msgstr ""
591
 
592
+ #: include/class-bulk-delete-posts.php:723
593
  msgid "You don't have any posts assigned to custom post types in this blog."
594
  msgstr ""
595
 
596
+ #: include/class-bulk-delete-posts.php:746
597
  msgid "Select the pages which you want to delete"
598
  msgstr ""
599
 
600
+ #: include/class-bulk-delete-posts.php:753
601
  msgid "All Published Pages"
602
  msgstr ""
603
 
604
+ #: include/class-bulk-delete-posts.php:753
605
+ #: include/class-bulk-delete-posts.php:760
606
+ #: include/class-bulk-delete-posts.php:767
607
+ #: include/class-bulk-delete-posts.php:774
608
+ #: include/class-bulk-delete-posts.php:781
609
  msgid "Pages"
610
  msgstr ""
611
 
612
+ #: include/class-bulk-delete-posts.php:760
613
  msgid "All Draft Pages"
614
  msgstr ""
615
 
616
+ #: include/class-bulk-delete-posts.php:767
617
  msgid "All Scheduled Pages"
618
  msgstr ""
619
 
620
+ #: include/class-bulk-delete-posts.php:774
621
  msgid "All Pending Pages"
622
  msgstr ""
623
 
624
+ #: include/class-bulk-delete-posts.php:781
625
  msgid "All Private Pages"
626
  msgstr ""
627
 
628
+ #: include/class-bulk-delete-posts.php:794
629
  msgid "Only restrict to pages which are "
630
  msgstr ""
631
 
632
+ #: include/class-bulk-delete-posts.php:860
633
  msgid "Delete these specific pages"
634
  msgstr ""
635
 
636
+ #: include/class-bulk-delete-posts.php:866
637
  msgid "Enter one post url (not post ids) per line"
638
  msgstr ""
639
 
640
+ #: include/class-bulk-delete-posts.php:917
641
  msgid "All Revisions"
642
  msgstr ""
643
 
644
+ #: include/class-bulk-delete-posts.php:917
645
  msgid "Revisions"
646
  msgstr ""
647
 
648
+ #: include/class-bulk-delete-posts.php:946
649
  msgid "You need \"Bulk Delete by Custom Field\" Addon, to delete post by custom field."
650
  msgstr ""
651
 
652
+ #: include/class-bulk-delete-posts.php:976
653
+ msgid "You need \"Bulk Delete by Title\" Addon, to delete post by title."
654
+ msgstr ""
655
+
656
+ #: include/class-bulk-delete-posts.php:994
657
  msgid "If you are seeing a blank page after clicking the Bulk Delete button, then "
658
  msgstr ""
659
 
660
+ #: include/class-bulk-delete-posts.php:994
661
  msgid "check out this FAQ"
662
  msgstr ""
663
 
664
+ #: include/class-bulk-delete-posts.php:995
665
  msgid "You also need need the following debug information."
666
  msgstr ""
667
 
668
+ #: include/class-bulk-delete-posts.php:999
669
  msgid "PHP Version "
670
  msgstr ""
671
 
672
+ #: include/class-bulk-delete-posts.php:1003
673
  msgid "Plugin Version "
674
  msgstr ""
675
 
676
+ #: include/class-bulk-delete-posts.php:1007
677
  msgid "Available memory size "
678
  msgstr ""
679
 
680
+ #: include/class-bulk-delete-posts.php:1011
681
  msgid "Script time out "
682
  msgstr ""
683
 
684
+ #: include/class-bulk-delete-posts.php:1015
685
  msgid "Script input time "
686
  msgstr ""
687
 
738
  #: include/class-cron-list-table.php:67 include/class-cron-list-table.php:74
739
  #: include/class-cron-list-table.php:81 include/class-cron-list-table.php:88
740
  #: include/class-cron-list-table.php:95 include/class-cron-list-table.php:102
741
+ #: include/class-cron-list-table.php:109
742
  msgid "More Info"
743
  msgstr ""
744
 
746
  #: include/class-cron-list-table.php:68 include/class-cron-list-table.php:75
747
  #: include/class-cron-list-table.php:82 include/class-cron-list-table.php:89
748
  #: include/class-cron-list-table.php:96 include/class-cron-list-table.php:103
749
+ #: include/class-cron-list-table.php:110
750
  msgid "Buy now"
751
  msgstr ""
752
 
753
  #: include/class-cron-list-table.php:58
754
+ msgid "Delete posts by title"
755
  msgstr ""
756
 
757
  #: include/class-cron-list-table.php:59
758
+ msgid "Adds the ability to delete posts based on title"
759
  msgstr ""
760
 
761
  #: include/class-cron-list-table.php:65
762
+ msgid "Schedule auto delete of Posts by Categories"
763
  msgstr ""
764
 
765
  #: include/class-cron-list-table.php:66
766
+ msgid "Adds the ability to schedule auto delete of posts based on categories"
767
  msgstr ""
768
 
769
  #: include/class-cron-list-table.php:72
770
+ msgid "Schedule auto delete of Posts by Tags"
771
  msgstr ""
772
 
773
  #: include/class-cron-list-table.php:73
774
+ msgid "Adds the ability to schedule auto delete of posts based on tags"
775
  msgstr ""
776
 
777
  #: include/class-cron-list-table.php:79
778
+ msgid "Schedule auto delete of posts by Custom Taxonomy"
779
  msgstr ""
780
 
781
  #: include/class-cron-list-table.php:80
782
+ msgid "Adds the ability to schedule auto delete of posts based on custom taxonomies"
783
  msgstr ""
784
 
785
  #: include/class-cron-list-table.php:86
786
+ msgid "Schedule auto delete of Posts by Custom Post Type"
787
  msgstr ""
788
 
789
  #: include/class-cron-list-table.php:87
790
+ msgid "Adds the ability to schedule auto delete of posts based on custom post types"
791
  msgstr ""
792
 
793
  #: include/class-cron-list-table.php:93
794
+ msgid "Schedule auto delete of Pages"
795
  msgstr ""
796
 
797
  #: include/class-cron-list-table.php:94
798
+ msgid "Adds the ability to schedule auto delete pages"
799
  msgstr ""
800
 
801
  #: include/class-cron-list-table.php:100
802
+ msgid "Schedule auto delete of Posts by Post Status"
803
  msgstr ""
804
 
805
  #: include/class-cron-list-table.php:101
806
+ msgid "Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc."
807
+ msgstr ""
808
+
809
+ #: include/class-cron-list-table.php:107
810
+ msgid "Schedule auto delete of Users by User Role"
811
+ msgstr ""
812
+
813
+ #: include/class-cron-list-table.php:108
814
  msgid "Adds the ability to schedule auto delete of users based on user role"
815
  msgstr ""
816
 
817
+ #: include/class-cron-list-table.php:123
818
  msgid "Next Due (GMT/UTC)"
819
  msgstr ""
820
 
821
+ #: include/class-cron-list-table.php:125
822
  msgid "Type"
823
  msgstr ""
824
 
825
+ #: include/class-cron-list-table.php:126
826
  msgid "Options"
827
  msgstr ""
828
 
829
+ #: include/class-cron-list-table.php:180
830
  msgid "Delete"
831
  msgstr ""
832
 
833
+ #: include/class-cron-list-table.php:206
834
  msgid "You have not scheduled any bulk delete jobs."
835
  msgstr ""
836
 
843
  msgstr ""
844
 
845
  #: tmp_addon/bulk-delete-by-custom-field.php:64
846
+ #: tmp_addon/bulk-delete-by-title.php:71
847
  msgid "equal to"
848
  msgstr ""
849
 
850
  #: tmp_addon/bulk-delete-by-custom-field.php:65
851
+ #: tmp_addon/bulk-delete-by-title.php:72
852
  msgid "not equal to"
853
  msgstr ""
854
 
859
  #: tmp_addon/bulk-delete-by-custom-field.php:74
860
  msgid "If you want to check for null values, then leave the value column blank"
861
  msgstr ""
862
+
863
+ #: tmp_addon/bulk-delete-by-title.php:63
864
+ msgid "Choose your title settings"
865
+ msgstr ""
866
+
867
+ #: tmp_addon/bulk-delete-by-title.php:69
868
+ msgid "Title"
869
+ msgstr ""
870
+
871
+ #: tmp_addon/bulk-delete-by-title.php:73
872
+ msgid "contains"
873
+ msgstr ""
874
+
875
+ #: tmp_addon/bulk-delete-by-title.php:74
876
+ msgid "doesn't contains"
877
+ msgstr ""
878
+
879
+ #: tmp_addon/bulk-delete-by-title.php:75
880
+ msgid "starts with"
881
+ msgstr ""
882
+
883
+ #: tmp_addon/bulk-delete-by-title.php:76
884
+ msgid "ends with"
885
+ msgstr ""
886
  #. Plugin Name of the plugin/theme
887
  msgid "Bulk Delete"
888
  msgstr ""
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: sudar
3
  Tags: post, comment, delete, bulk, mass, draft, revision, page
4
  Requires at least: 3.3
5
- Tested up to: 3.7.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
- Stable tag: 4.3
8
 
9
  Bulk delete users based on user role and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
10
 
@@ -24,6 +24,7 @@ This Plugin supports the following bulk delete options for deleting posts
24
  - Delete posts by custom post types
25
  - Delete posts by url
26
  - Delete posts by custom field (Available as a [Pro addon](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field))
 
27
  - Delete all draft posts
28
  - Delete all pending posts
29
  - Delete all private posts
@@ -77,7 +78,8 @@ If you looking for just moving posts, instead of deleting, then use [Bulk Move P
77
 
78
  The following are the list of pro addons that are currently available for purchase to add more features to the Plugin.
79
 
80
- - **Delete posts by custom field** - Adds the ability to delete posts based on custom field. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field). [Buy now](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field)
 
81
  - **Schedule auto delete of Posts by Categories** - Adds the ability to schedule auto delete of posts based on categories. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-categories). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-category-addon)
82
  - **Schedule auto delete of Posts by Tags** - Adds the ability to schedule auto delete of posts based on tags. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-tags). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-tags-addon)
83
  - **Schedule auto delete of Posts by Custom Taxonomies** - Adds the ability to schedule auto delete of posts based on custom taxonomies. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-taxonomy). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-taxonomy-addon)
@@ -99,12 +101,12 @@ If you are looking for ideas, then you can start with one of the following TODO
99
  The following are the features that I am thinking of adding to the Plugin, when I get some free time. If you have any feature request or want to increase the priority of a particular feature, then let me know.
100
 
101
  - Bulk Delete posts based on page views
102
- - Bulk Delete sticky posts
103
  - Bulk delete based on the presence/absence of a word
104
  - Bulk Delete empty posts
105
  - Bulk Delete posts based on users
106
  - Bulk delete comments
107
  - Delete images that are used by the posts that are being deleted
 
108
  - <del>Change the message based on the option the user has chosen</del> - Added in v3.3
109
  - <del>Expandable/collapsible taxonomies</del> - Added in v3.3
110
  - <del>Ability to choose the different sections that should be loaded</del> - Added in v3.4
@@ -222,4 +224,198 @@ The ability to schedule deletion of posts is available as a pro addon.
222
  == Readme Generator ==
223
 
224
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
225
- HISTORY.md
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  Contributors: sudar
3
  Tags: post, comment, delete, bulk, mass, draft, revision, page
4
  Requires at least: 3.3
5
+ Tested up to: 3.8
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
+ Stable tag: 4.4
8
 
9
  Bulk delete users based on user role and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
10
 
24
  - Delete posts by custom post types
25
  - Delete posts by url
26
  - Delete posts by custom field (Available as a [Pro addon](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field))
27
+ - Delete posts by title (Available as a [Pro addon](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-title))
28
  - Delete all draft posts
29
  - Delete all pending posts
30
  - Delete all private posts
78
 
79
  The following are the list of pro addons that are currently available for purchase to add more features to the Plugin.
80
 
81
+ - **Delete posts by custom field** - Adds the ability to delete posts based on custom field. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-custom-field). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-custom-field-addon)
82
+ - **Delete posts by title** - Adds the ability to delete posts based on title. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-by-title). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-title-addon)
83
  - **Schedule auto delete of Posts by Categories** - Adds the ability to schedule auto delete of posts based on categories. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-categories). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-category-addon)
84
  - **Schedule auto delete of Posts by Tags** - Adds the ability to schedule auto delete of posts based on tags. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-tags). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-tags-addon)
85
  - **Schedule auto delete of Posts by Custom Taxonomies** - Adds the ability to schedule auto delete of posts based on custom taxonomies. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-taxonomy). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-taxonomy-addon)
101
  The following are the features that I am thinking of adding to the Plugin, when I get some free time. If you have any feature request or want to increase the priority of a particular feature, then let me know.
102
 
103
  - Bulk Delete posts based on page views
 
104
  - Bulk delete based on the presence/absence of a word
105
  - Bulk Delete empty posts
106
  - Bulk Delete posts based on users
107
  - Bulk delete comments
108
  - Delete images that are used by the posts that are being deleted
109
+ - <del>Bulk Delete sticky posts</del> - Added in v4.4
110
  - <del>Change the message based on the option the user has chosen</del> - Added in v3.3
111
  - <del>Expandable/collapsible taxonomies</del> - Added in v3.3
112
  - <del>Ability to choose the different sections that should be loaded</del> - Added in v3.4
224
  == Readme Generator ==
225
 
226
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
227
+ == Changelog ==
228
+
229
+ = 2013-12-14 - v4.4 - (Dev time: 10 hours) =
230
+ - New: Ability to delete all published posts from "Post Status" module
231
+ - New: Ability to delete all sticky posts from "Post Status" module
232
+ - Tweak: Moved all option page to a separate top menu
233
+ - Fix: Fix undefined notices and strict warnings
234
+ - New: Ability to delete posts by title
235
+ - Tweak: Tweak UI for WordPress 3.8
236
+
237
+ = 2013-12-08 - v4.3 - (Dev time: 2 hours) =
238
+ - New: Ability to delete custom post type posts by categories
239
+ - New: Ability to delete custom post type posts by custom taxonomy
240
+ - Fix: Fix link to "Custom Field" Addon
241
+
242
+ = 2013-11-11 - v4.2.2 - (Dev time: 1 hour) =
243
+ - Fix: Bug in deleting custom post types with hypen
244
+
245
+ = 2013-11-07 - v4.2.1 - (Dev time: 0.5 hours) =
246
+ - Explicitly mark static methods as static
247
+
248
+ = 2013-10-22 - v4.2 - (Dev time: 3 hours) =
249
+ - Add the ability to custom post type posts by post status
250
+
251
+ = 2013-10-12 - v4.1 - (Dev time: 6 hours) =
252
+ - Add the "delete by custom field" pro addon
253
+
254
+ = 2013-10-07 - v4.0.2 - (Dev time: 1 hours) =
255
+ - Fix issue in displaying meta boxes
256
+ - Show taxonomy label instead of slug
257
+ - Fix issue in deleting posts by custom taxonomy
258
+
259
+ = 2013-09-12 - v4.0.1 - (Dev time: 1 hours) =
260
+ - Fix JavaScript bug that prevented deleting posts by days and in batches
261
+
262
+ = 2013-09-09 - v4.0 - (Dev time: 25 hours) =
263
+ - Add the ability to delete users
264
+ - Move menu items under tools
265
+
266
+ = 2013-07-07 - v3.6.0 - (Dev time: 2 hours) =
267
+ - Change minimum requirement to WordPress 3.3
268
+ - Fix compatibility issues with "The event calendar" Plugin
269
+
270
+ = 2013-06-01 - v3.5 - (Dev time: 10 hours) =
271
+ - Added support to delete custom post types
272
+ - Added Gujarati translations
273
+ - Ignore sticky posts when deleting drafts
274
+
275
+ = 2013-05-22 - v3.4 - (Dev time: 20 hours) =
276
+ * Incorporated Screen API to select/deselect different sections of the page
277
+ * Load only sections that are selected by the user
278
+
279
+ = 2013-05-11 - v3.3 - (Dev time: 10 hours) =
280
+ * Enhanced the deletion of posts using custom taxonomies
281
+ * Added the ability to schedule auto delete of taxonomies by date
282
+ * Cleaned up all messages that are shown to the user
283
+ * Added on screen help tab
284
+
285
+ = 2013-05-04 - v3.2 - (Dev time: 20 hours) =
286
+ * Added support for scheduling auto delete of pages
287
+ * Added support for scheduling auto delete of drafts
288
+ * Fixed issue in deleting post revisions
289
+ * Move post revisions to a separate section
290
+ * Better handling of post count to improve performance
291
+ * Moved pages to a separate section
292
+ * Added ability to delete pages in different status
293
+ * Added the option to schedule auto delete of tags by date
294
+ * Fixed a bug which was not allowing categories to be deleted based on date
295
+
296
+ = 2013-04-28 - v3.1 - (Dev time: 5 hours) =
297
+ * Added separate delete by sections for pages, drafts and urls
298
+ * Added the option to delete by date for drafts, revisions, future posts etc
299
+ * Added the option to delete by date for pages
300
+
301
+ = 2013-04-27 - v3.0 - (Dev time: 10 hours) =
302
+ * Added support for pro addons
303
+ * Added GUI to see cron jobs
304
+
305
+ = v2.2.2 (2012-12-20) (Dev time: 0.5 hour) =
306
+ * Removed unused wpdb->prepare() function calls
307
+
308
+ = v2.2.1 (2012-10-28) (Dev time: 0.5 hour) =
309
+ * Added Serbian translations
310
+
311
+ = v2.2 (2012-07-11) (Dev time: 0.5 hour) =
312
+ * Added Hindi translations
313
+ * Added checks to see if elements are present in the array before accessing them.
314
+
315
+ = v2.1 (2012-04-07) Dev Time: 1 hour =
316
+ * Fixed CSS issues in IE
317
+ * Added Lithuanian translations
318
+
319
+ = v2.0 (2012-04-01) Dev Time: 10 hours =
320
+ * Fixed a major issue in how dates were handled.
321
+ * Major UI revamp
322
+ * Added debug information and support urls
323
+
324
+ = v1.9 (2012-03-16) =
325
+ * Added support for deleting by permalink. Credit Martin Capodici
326
+ * Fixed issues with translations
327
+ * Added Russian translations
328
+
329
+ = v1.8 (2012-01-31) =
330
+ * Added roles and capabilities for menu
331
+
332
+ = v1.7 (2012-01-12) =
333
+ * Added Bulgarian translations
334
+
335
+ = v1.6 (2011-11-28) =
336
+ * Added Italian translations
337
+
338
+ = v1.5 (2011-11-13) =
339
+ * Added Spanish translations
340
+
341
+ = v1.4 (2011-08-25) =
342
+ * Added Turkish translations
343
+
344
+ = v1.3 (2011-05-11) =
345
+ * Added German translations
346
+
347
+ = v1.2 (2011-02-06) =
348
+ * Added some optimization to handle huge number of posts in underpowered servers
349
+
350
+ = v1.1 (2011-01-22) =
351
+ * Added support to delete posts by custom taxonomies
352
+ * Added Dutch Translation
353
+ * Added Brazilian Portuguese Translation
354
+
355
+ = v1.0 (2010-06-19) =
356
+ * Proper handling of limits.
357
+
358
+ = v0.8 (2010-03-17) =
359
+ * Added support for private posts.
360
+
361
+ = v0.7 (2010-02-21) =
362
+ * Added an option to delete posts directly or send them to trash.
363
+ * Added support for translation.
364
+
365
+ = v0.6 (2009-07-22) =
366
+ * Added option to delete all scheduled posts.
367
+
368
+ = v0.5 (2009-07-21) =
369
+ * Added option to delete all pending posts.
370
+
371
+ = v0.4 (2009-07-05) =
372
+ * Added option to delete by date.
373
+
374
+ = v0.3 (2009-04-05) =
375
+ * Prevented drafts from deleted when only posts are selected
376
+
377
+ = v0.2 (2009-02-03) =
378
+ * Fixed issues with paging
379
+
380
+ = v0.1 (2009-02-02) =
381
+ * First version
382
+
383
+ == Upgrade Notice ==
384
+
385
+ = 4.2.2 =
386
+ Fix: Bug in deleting custom post types with hypen
387
+
388
+ = 4.2.1 =
389
+ Fix warning message in PHP 5.2.x
390
+
391
+ = 4.2 =
392
+ Add the ability to custom post type posts by post status
393
+
394
+ = 4.0.2 =
395
+ Fixed issue in deleting posts by custom taxonomy
396
+
397
+ = 4.0.1 =
398
+ Fixed JS bug that was introduced in v4.0
399
+
400
+ = 4.0 =
401
+ Add the ability to delete users
402
+
403
+ = 3.6.0 =
404
+ Fix compatibility issues with "The event calendar" Plugin
405
+
406
+ = 3.5 =
407
+ Added the ability to delete posts by custom post types.
408
+
409
+ = 3.4 =
410
+ Added the ability to disable different sections of the Plugin.
411
+
412
+ = 3.3 =
413
+ Fixed issues in deleting posts using custom taxonomy
414
+
415
+ = 3.2 =
416
+
417
+ Fixed bugs in handling post revisions and dates in categories. Added more options to delete pages.
418
+
419
+ = 3.1 =
420
+
421
+ Added the option to delete by date for pages, drafts, revisions, future posts etc