Bulk Delete - Version 3.3

Version Description

Fixed issues in deleting posts using custom taxonomy

Download this release

Release Info

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

Code changes from version 3.2 to 3.3

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 posts from selected categories, tags, custom taxonomies or by post type like drafts, scheduled posts, revisions etc.
7
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
8
- Version: 3.2
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
@@ -62,6 +62,11 @@ Domain Path: languages/
62
  - Added ability to delete pages in different status
63
  - Added the option to schedule auto delete of tags by date
64
  - Fixed a bug which was not allowing categories to be deleted based on date
 
 
 
 
 
65
  */
66
 
67
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
@@ -85,7 +90,7 @@ Domain Path: languages/
85
  */
86
  class Bulk_Delete {
87
 
88
- const VERSION = '3.2';
89
  const JS_HANDLE = 'bulk-delete';
90
  const JS_VARIABLE = 'BULK_DELETE';
91
 
@@ -121,9 +126,43 @@ class Bulk_Delete {
121
  $this->admin_page = add_options_page(__("Bulk Delete", 'bulk-delete'), __("Bulk Delete", 'bulk-delete'), 'delete_posts', basename(__FILE__), array(&$this, 'display_setting_page'));
122
  $this->cron_page = add_options_page(__("Bulk Delete Schedules", 'bulk-delete'), __("Bulk Delete Schedules", 'bulk-delete'), 'delete_posts', 'bulk-delete-cron', array(&$this, 'display_cron_page'));
123
 
 
124
  add_action('admin_print_scripts-' . $this->admin_page, array(&$this, 'add_script'));
125
  }
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  /**
128
  * Enqueue JavaScript
129
  */
@@ -201,7 +240,6 @@ class Bulk_Delete {
201
  <h4><?php _e("Select the posts which you want to delete", 'bulk-delete'); ?></h4>
202
 
203
  <form name="smbd_form" id = "smbd_misc_form" action="<?php echo get_bloginfo("wpurl"); ?>/wp-admin/options-general.php?page=bulk-delete.php" method="post" onsubmit="return bd_validateForm(this);">
204
-
205
  <?php
206
  $posts_count = wp_count_posts();
207
  $drafts = $posts_count->draft;
@@ -558,8 +596,12 @@ class Bulk_Delete {
558
 
559
  <!-- Custom tax Start-->
560
  <?php
561
- $customTaxs = get_taxonomies();
562
- if (count($customTaxs) > 0) {
 
 
 
 
563
  ?>
564
  <div class = "postbox">
565
  <div class = "handlediv">
@@ -575,31 +617,52 @@ class Bulk_Delete {
575
 
576
  <fieldset class="options">
577
  <table class="optiontable">
578
- <?php
579
- foreach ($customTaxs as $taxs) {
580
-
581
- $posts = smbd_get_tax_post($taxs);
582
- ?>
 
 
583
  <tr>
584
  <td scope="row" >
585
- <input name="smbd_taxs[]" value = "<?php echo $taxs; ?>" type = "checkbox" />
586
  </td>
587
  <td>
588
- <label for="smbd_taxs"><?php echo $taxs; ?> (<?php echo count($posts) . " "; _e("Posts", 'bulk-delete'); ?>)</label>
589
  </td>
590
  </tr>
591
- <?php
 
592
  }
593
- ?>
594
- <tr>
595
- <td scope="row" >
596
- <input name="smbd_taxs_all" id ="smbd_taxs_all" value = "-1" type = "checkbox" onclick="bd_checkAll(document.getElementById('smbd_tax_form'));" />
597
- </td>
598
- <td>
599
- <label for="smbd_taxs_all"><?php _e("All Taxonomies", 'bulk-delete') ?></label>
600
- </td>
601
- </tr>
602
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
603
  <tr>
604
  <td colspan="2">
605
  <h4><?php _e("Choose your filtering options", 'bulk-delete'); ?></h4>
@@ -645,6 +708,26 @@ class Bulk_Delete {
645
  </td>
646
  </tr>
647
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
648
  </table>
649
  </fieldset>
650
  <p class="submit">
@@ -898,7 +981,7 @@ class Bulk_Delete {
898
 
899
  </div>
900
 
901
- <iframe frameBorder="0" height = "950" src = "http://sudarmuthu.com/projects/wordpress/bulk-delete/sidebar.php?color=<?php echo get_user_option('admin_color'); ?>"></iframe>
902
 
903
  </div>
904
  <?php
@@ -959,6 +1042,10 @@ class Bulk_Delete {
959
  $cron_items = $this->get_cron_schedules();
960
  wp_unschedule_event($cron_items[$cron_id]['timestamp'], $cron_items[$cron_id]['type'], $cron_items[$cron_id]['args']);
961
 
 
 
 
 
962
  break;
963
  }
964
  }
@@ -975,13 +1062,13 @@ class Bulk_Delete {
975
 
976
  $delete_options = array();
977
  $delete_options['selected_cats'] = array_get($_POST, 'smbd_cats');
978
- $delete_options['restrict'] = array_get($_POST, 'smbd_cats_restrict', FALSE);
979
- $delete_options['private'] = array_get($_POST, 'smbd_cats_private');
980
- $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_cats_limits_to', 0));
981
- $delete_options['force_delete'] = array_get($_POST, 'smbd_cats_force_delete', 'false');
982
 
983
- $delete_options['cats_op'] = array_get($_POST, 'smbd_cats_op');
984
- $delete_options['cats_days'] = array_get($_POST, 'smbd_cats_days');
985
 
986
  if (array_get($_POST, 'smbd_cats_cron', 'false') == 'true') {
987
  $freq = $_POST['smbd_cats_cron_freq'];
@@ -992,8 +1079,12 @@ class Bulk_Delete {
992
  } else {
993
  wp_schedule_event($time, $freq , self::CRON_HOOK_CATS, array($delete_options));
994
  }
 
 
 
995
  } else {
996
- self::delete_cats($delete_options);
 
997
  }
998
 
999
  break;
@@ -1003,13 +1094,13 @@ class Bulk_Delete {
1003
 
1004
  $delete_options = array();
1005
  $delete_options['selected_tags'] = array_get($_POST, 'smbd_tags');
1006
- $delete_options['restrict'] = array_get($_POST, 'smbd_tags_restrict', FALSE);
1007
- $delete_options['private'] = array_get($_POST, 'smbd_tags_private');
1008
- $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_tags_limits_to', 0));
1009
- $delete_options['force_delete'] = array_get($_POST, 'smbd_tags_force_delete', 'false');
1010
 
1011
- $delete_options['tags_op'] = array_get($_POST, 'smbd_tags_op');
1012
- $delete_options['tags_days'] = array_get($_POST, 'smbd_tags_days');
1013
 
1014
  if (array_get($_POST, 'smbd_tags_cron', 'false') == 'true') {
1015
  $freq = $_POST['smbd_tags_cron_freq'];
@@ -1020,70 +1111,61 @@ class Bulk_Delete {
1020
  } else {
1021
  wp_schedule_event($time, $freq, self::CRON_HOOK_TAGS, array($delete_options));
1022
  }
 
 
1023
  } else {
1024
- self::delete_tags($delete_options);
 
1025
  }
1026
 
1027
  break;
1028
 
1029
  case "bulk-delete-taxs":
1030
  // delete by taxs
1031
- $selected_taxs = array_get($_POST, 'smbd_taxs');
1032
-
1033
- foreach ($selected_taxs as $selected_tax) {
1034
- $postids = smbd_get_tax_post($selected_tax);
1035
-
1036
- if (array_get($_POST, 'smbd_taxs_restrict', 'false') == "true") {
1037
- add_filter ('posts_where', 'smbd_taxs_by_days');
1038
- }
1039
-
1040
- $private = array_get($_POST, 'smbd_taxs_private');
1041
-
1042
- if ($private == 'true') {
1043
- $options = array('post__in'=>$postids,'post_status'=>'private', 'post_type'=>'post');
1044
- } else {
1045
- $options = array('post__in'=>$postids,'post_status'=>'publish', 'post_type'=>'post');
1046
- }
1047
-
1048
- $limit_to = absint(array_get($_POST, 'smbd_taxs_limits_to', 0));
1049
-
1050
- if ($limit_to > 0) {
1051
- $options['showposts'] = $limit_to;
1052
- } else {
1053
- $options['nopaging'] = 'true';
1054
- }
1055
-
1056
- $force_delete = array_get($_POST, 'smbd_taxs_force_delete');
1057
 
1058
- if ($force_delete == 'true') {
1059
- $force_delete = true;
1060
  } else {
1061
- $force_delete = false;
1062
- }
1063
-
1064
- $posts = $wp_query->query($options);
1065
- foreach ($posts as $post) {
1066
- wp_delete_post($post->ID, $force_delete);
1067
  }
 
 
 
 
 
1068
  }
1069
-
1070
  break;
1071
 
1072
  case "bulk-delete-post-status":
1073
  // Delete by post status like drafts, pending posts etc
1074
 
1075
  $delete_options = array();
1076
- $delete_options['restrict'] = array_get($_POST, 'smbd_post_status_restrict', FALSE);
1077
- $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_post_status_limits_to', 0));
1078
- $delete_options['force_delete'] = array_get($_POST, 'smbd_post_status_force_delete', 'false');
1079
 
1080
- $delete_options['post_status_op'] = array_get($_POST, 'smbd_post_status_op');
1081
  $delete_options['post_status_days'] = array_get($_POST, 'smbd_post_status_days');
1082
 
1083
- $delete_options['drafts'] = array_get($_POST, 'smbd_drafts');
1084
- $delete_options['pending'] = array_get($_POST, 'smbd_pending');
1085
- $delete_options['future'] = array_get($_POST, 'smbd_future');
1086
- $delete_options['private'] = array_get($_POST, 'smbd_private');
1087
 
1088
  if (array_get($_POST, 'smbd_post_status_cron', 'false') == 'true') {
1089
  $freq = $_POST['smbd_post_status_cron_freq'];
@@ -1094,8 +1176,11 @@ class Bulk_Delete {
1094
  } else {
1095
  wp_schedule_event($time, $freq, self::CRON_HOOK_POST_STATUS, array($delete_options));
1096
  }
 
 
1097
  } else {
1098
- self::delete_post_status($delete_options);
 
1099
  }
1100
 
1101
  break;
@@ -1104,18 +1189,18 @@ class Bulk_Delete {
1104
  // Delete pages
1105
 
1106
  $delete_options = array();
1107
- $delete_options['restrict'] = array_get($_POST, 'smbd_page_restrict', FALSE);
1108
- $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_page_limits_to', 0));
1109
  $delete_options['force_delete'] = array_get($_POST, 'smbd_page_force_delete', 'false');
1110
 
1111
- $delete_options['page_op'] = array_get($_POST, 'smbd_page_op');
1112
- $delete_options['page_days'] = array_get($_POST, 'smbd_page_days');
1113
 
1114
- $delete_options['publish'] = array_get($_POST, 'smbd_published_pages');
1115
- $delete_options['drafts'] = array_get($_POST, 'smbd_draft_pages');
1116
- $delete_options['pending'] = array_get($_POST, 'smbd_pending_pages');
1117
- $delete_options['future'] = array_get($_POST, 'smbd_future_pages');
1118
- $delete_options['private'] = array_get($_POST, 'smbd_private_pages');
1119
 
1120
  if (array_get($_POST, 'smbd_pages_cron', 'false') == 'true') {
1121
  $freq = $_POST['smbd_pages_cron_freq'];
@@ -1126,8 +1211,11 @@ class Bulk_Delete {
1126
  } else {
1127
  wp_schedule_event($time, $freq , self::CRON_HOOK_PAGES, array($delete_options));
1128
  }
 
 
1129
  } else {
1130
- self::delete_pages($delete_options);
 
1131
  }
1132
 
1133
  break;
@@ -1151,14 +1239,18 @@ class Bulk_Delete {
1151
  $postid = url_to_postid( $checkedurl );
1152
  wp_delete_post($postid, $force_delete);
1153
  }
 
 
 
1154
  break;
1155
 
1156
  case "bulk-delete-revisions":
1157
  // Delete page revisions
1158
 
1159
  $delete_options['revisions'] = array_get($_POST, 'smbd_revisions');
1160
- self::delete_revisions($delete_options);
1161
 
 
1162
  break;
1163
  }
1164
 
@@ -1171,7 +1263,13 @@ class Bulk_Delete {
1171
  * Show deleted notice messages
1172
  */
1173
  function deleted_notice() {
1174
- echo "<div class = 'updated'><p>" . __("All the selected posts have been successfully deleted.", 'bulk-delete') . "</p></div>";
 
 
 
 
 
 
1175
  }
1176
 
1177
  /**
@@ -1221,6 +1319,8 @@ class Bulk_Delete {
1221
  foreach ($posts as $post) {
1222
  wp_delete_post($post->ID, $force_delete);
1223
  }
 
 
1224
  }
1225
 
1226
  /**
@@ -1269,6 +1369,70 @@ class Bulk_Delete {
1269
  foreach ($posts as $post) {
1270
  wp_delete_post($post->ID, $force_delete);
1271
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1272
  }
1273
 
1274
  /**
@@ -1334,6 +1498,8 @@ class Bulk_Delete {
1334
  foreach ($posts as $post) {
1335
  wp_delete_post($post->ID, $force_delete);
1336
  }
 
 
1337
  }
1338
 
1339
  /**
@@ -1417,7 +1583,11 @@ class Bulk_Delete {
1417
  foreach ($revisions as $revision) {
1418
  wp_delete_post( $revision->ID );
1419
  }
 
 
1420
  }
 
 
1421
  }
1422
 
1423
  /**
@@ -1473,43 +1643,4 @@ if (!function_exists('array_get')) {
1473
  return isset($array[$key]) ? $array[$key] : $default;
1474
  }
1475
  }
1476
-
1477
- /**
1478
- * function to filter custom taxonomy posts by days
1479
- * @param <type> $where
1480
- * @return <type>
1481
- */
1482
- if (!function_exists('smbd_taxs_by_days ')) {
1483
- function smbd_taxs_by_days ($where = '') {
1484
- $taxs_op = array_get($_POST, 'smbd_taxs_op');
1485
- $taxs_days = array_get($_POST, 'smbd_taxs_days');
1486
-
1487
- remove_filter('posts_where', 'smbd_taxs_by_days');
1488
-
1489
- $where .= " AND post_date $taxs_op '" . date('y-m-d', strtotime("-$taxs_days days")) . "'";
1490
- return $where;
1491
- }
1492
- }
1493
-
1494
- /**
1495
- * Return the posts for a taxonomy
1496
- *
1497
- * @param <type> $tax
1498
- * @return <type>
1499
- */
1500
- if (!function_exists('smbd_get_tax_post')) {
1501
- function smbd_get_tax_post($tax) {
1502
- global $wpdb;
1503
-
1504
- $query = $wpdb->prepare("SELECT object_id FROM {$wpdb->prefix}term_relationships WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM {$wpdb->prefix}term_taxonomy WHERE taxonomy = '%s')", $tax);
1505
- $post_ids_result = $wpdb->get_results($query);
1506
-
1507
- $postids = array();
1508
- foreach ($post_ids_result as $post_id_result) {
1509
- $postids[] = $post_id_result->object_id;
1510
- }
1511
-
1512
- return $postids;
1513
- }
1514
- }
1515
  ?>
5
  Plugin URI: http://sudarmuthu.com/wordpress/bulk-delete
6
  Description: Bulk delete posts from selected categories, tags, custom taxonomies or by post type like drafts, scheduled posts, revisions etc.
7
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
8
+ Version: 3.3
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
62
  - Added ability to delete pages in different status
63
  - Added the option to schedule auto delete of tags by date
64
  - Fixed a bug which was not allowing categories to be deleted based on date
65
+ 2013-05-11 - v3.3 - (Dev time: 10 hours)
66
+ - Enhanced the deletion of posts using custom taxonomies
67
+ - Added the ability to schedule auto delete of taxonomies by date
68
+ - Cleaned up all messages that are shown to the user
69
+ - Added on screen help tab
70
  */
71
 
72
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
90
  */
91
  class Bulk_Delete {
92
 
93
+ const VERSION = '3.3';
94
  const JS_HANDLE = 'bulk-delete';
95
  const JS_VARIABLE = 'BULK_DELETE';
96
 
126
  $this->admin_page = add_options_page(__("Bulk Delete", 'bulk-delete'), __("Bulk Delete", 'bulk-delete'), 'delete_posts', basename(__FILE__), array(&$this, 'display_setting_page'));
127
  $this->cron_page = add_options_page(__("Bulk Delete Schedules", 'bulk-delete'), __("Bulk Delete Schedules", 'bulk-delete'), 'delete_posts', 'bulk-delete-cron', array(&$this, 'display_cron_page'));
128
 
129
+ add_action( "load-{$this->admin_page}", array(&$this,'create_settings_panel' ) );
130
  add_action('admin_print_scripts-' . $this->admin_page, array(&$this, 'add_script'));
131
  }
132
 
133
+ /**
134
+ * Add settings Panel
135
+ */
136
+ function create_settings_panel() {
137
+
138
+ /**
139
+ * Create the WP_Screen object against your admin page handle
140
+ * This ensures we're working with the right admin page
141
+ */
142
+ $this->admin_screen = WP_Screen::get($this->admin_page);
143
+
144
+ /**
145
+ * Content specified inline
146
+ */
147
+ $this->admin_screen->add_help_tab(
148
+ array(
149
+ 'title' => __('About Plugin', 'bulk-delete'),
150
+ 'id' => 'about_tab',
151
+ 'content' => '<p>' . __('This plugin allows you to delete posts in bulk from selected categories, tags, custom taxonomies or by post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete') . '</p>',
152
+ 'callback' => false
153
+ )
154
+ );
155
+
156
+ // Add help sidebar
157
+ $this->admin_screen->set_help_sidebar(
158
+ '<p><strong>' . __('More information', 'bulk-delete') . '</strong></p>' .
159
+ '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete">' . __('Plugin Homepage/support', 'bulk-delete') . '</a></p>' .
160
+ '<p><a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons">' . __("Buy pro addons", 'bulk-delete') . '</a></p>' .
161
+ '<p><a href = "http://sudarmuthu.com/blog">' . __("Plugin author's blog", 'bulk-delete') . '</a></p>' .
162
+ '<p><a href = "http://sudarmuthu.com/wordpress/">' . __("Other Plugin's by Author", 'bulk-delete') . '</a></p>'
163
+ );
164
+ }
165
+
166
  /**
167
  * Enqueue JavaScript
168
  */
240
  <h4><?php _e("Select the posts which you want to delete", 'bulk-delete'); ?></h4>
241
 
242
  <form name="smbd_form" id = "smbd_misc_form" action="<?php echo get_bloginfo("wpurl"); ?>/wp-admin/options-general.php?page=bulk-delete.php" method="post" onsubmit="return bd_validateForm(this);">
 
243
  <?php
244
  $posts_count = wp_count_posts();
245
  $drafts = $posts_count->draft;
596
 
597
  <!-- Custom tax Start-->
598
  <?php
599
+ $taxs = get_taxonomies(array(
600
+ 'public' => true,
601
+ '_builtin' => false
602
+ ), 'objects'
603
+ );
604
+ if (count($taxs) > 0) {
605
  ?>
606
  <div class = "postbox">
607
  <div class = "handlediv">
617
 
618
  <fieldset class="options">
619
  <table class="optiontable">
620
+ <?php
621
+ $terms_array = array();
622
+ foreach ($taxs as $tax) {
623
+ $terms = get_terms($tax->name);
624
+ if (count($terms) > 0) {
625
+ $terms_array[$tax->name] = $terms;
626
+ ?>
627
  <tr>
628
  <td scope="row" >
629
+ <input name="smbd_taxs" value = "<?php echo $tax->name; ?>" type = "radio" class = "custom-tax">
630
  </td>
631
  <td>
632
+ <label for="smbd_taxs"><?php echo $tax->name; ?> </label>
633
  </td>
634
  </tr>
635
+ <?php
636
+ }
637
  }
638
+ ?>
639
+ </table>
640
+ <h4><?php _e("The selected taxonomy has the following terms. Select the terms whose post you want to delete", 'bulk-delete') ?></h4>
641
+ <?php
642
+ foreach ($taxs as $tax) {
643
+ $terms = $terms_array[$tax->name];
644
+ ?>
645
+ <table class="optiontable terms_<?php echo $tax->name;?> terms">
646
+ <?php
647
+ foreach ($terms as $term) {
648
+ ?>
649
+ <tr>
650
+ <td scope="row" >
651
+ <input name="smbd_tax_terms[]" value = "<?php echo $term->name; ?>" type = "checkbox" class = "terms" >
652
+ </td>
653
+ <td>
654
+ <label for="smbd_tax_terms"><?php echo $term->name; ?> (<?php echo $term->count . " "; _e("Posts", 'bulk-delete'); ?>)</label>
655
+ </td>
656
+ </tr>
657
+ <?php
658
+ }
659
+ ?>
660
+ </table>
661
+ <?php
662
+ }
663
+ ?>
664
+ </table>
665
+ <table class="optiontable">
666
  <tr>
667
  <td colspan="2">
668
  <h4><?php _e("Choose your filtering options", 'bulk-delete'); ?></h4>
708
  </td>
709
  </tr>
710
 
711
+ <tr>
712
+ <td scope="row" colspan="2">
713
+ <input name="smbd_taxs_cron" value = "false" type = "radio" checked="checked" > <?php _e('Delete now', 'bulk-delete'); ?>
714
+ <input name="smbd_taxs_cron" value = "true" type = "radio" id = "smbd_taxs_cron" disabled > <?php _e('Schedule', 'bulk-delete'); ?>
715
+ <input name="smbd_taxs_cron_start" id = "smbd_taxs_cron_start" value = "now" type = "text" disabled><?php _e('repeat ', 'bulk-delete');?>
716
+ <select name = "smbd_taxs_cron_freq" id = "smbd_taxs_cron_freq" disabled>
717
+ <option value = "-1"><?php _e("Don't repeat", 'bulk-delete'); ?></option>
718
+ <?php
719
+ $schedules = wp_get_schedules();
720
+ foreach($schedules as $key => $value) {
721
+ ?>
722
+ <option value = "<?php echo $key; ?>"><?php echo $value['display']; ?></option>
723
+ <?php
724
+ }
725
+ ?>
726
+ </select>
727
+ <span class = "bd-taxs-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://sudarmuthu.com/out/buy-bulk-delete-taxonomy-addon">Buy now</a></span>
728
+ </td>
729
+ </tr>
730
+
731
  </table>
732
  </fieldset>
733
  <p class="submit">
981
 
982
  </div>
983
 
984
+ <iframe frameBorder="0" height = "950" src = "http://sudarmuthu.com/projects/wordpress/bulk-delete/sidebar.php?color=<?php echo get_user_option('admin_color'); ?>&version=<?php echo self::VERSION; ?>"></iframe>
985
 
986
  </div>
987
  <?php
1042
  $cron_items = $this->get_cron_schedules();
1043
  wp_unschedule_event($cron_items[$cron_id]['timestamp'], $cron_items[$cron_id]['type'], $cron_items[$cron_id]['args']);
1044
 
1045
+ $this->msg = __('The selected scheduled job was successfully deleted ', 'bulk-delete');
1046
+ // hook the admin notices action
1047
+ add_action( 'admin_notices', array(&$this, 'deleted_notice'), 9 );
1048
+
1049
  break;
1050
  }
1051
  }
1062
 
1063
  $delete_options = array();
1064
  $delete_options['selected_cats'] = array_get($_POST, 'smbd_cats');
1065
+ $delete_options['restrict'] = array_get($_POST, 'smbd_cats_restrict', FALSE);
1066
+ $delete_options['private'] = array_get($_POST, 'smbd_cats_private');
1067
+ $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_cats_limits_to', 0));
1068
+ $delete_options['force_delete'] = array_get($_POST, 'smbd_cats_force_delete', 'false');
1069
 
1070
+ $delete_options['cats_op'] = array_get($_POST, 'smbd_cats_op');
1071
+ $delete_options['cats_days'] = array_get($_POST, 'smbd_cats_days');
1072
 
1073
  if (array_get($_POST, 'smbd_cats_cron', 'false') == 'true') {
1074
  $freq = $_POST['smbd_cats_cron_freq'];
1079
  } else {
1080
  wp_schedule_event($time, $freq , self::CRON_HOOK_CATS, array($delete_options));
1081
  }
1082
+
1083
+ $this->msg = __('Posts from the selected categories are scheduled for deletion.', 'bulk-delete') . ' ' .
1084
+ sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/options-general.php?page=bulk-delete-cron');
1085
  } else {
1086
+ $deleted_count = self::delete_cats($delete_options);
1087
+ $this->msg = sprintf( _n('Deleted %d post from the selected categories', 'Deleted %d posts from the selected categories' , $deleted_count, 'bulk-delete' ), $deleted_count);
1088
  }
1089
 
1090
  break;
1094
 
1095
  $delete_options = array();
1096
  $delete_options['selected_tags'] = array_get($_POST, 'smbd_tags');
1097
+ $delete_options['restrict'] = array_get($_POST, 'smbd_tags_restrict', FALSE);
1098
+ $delete_options['private'] = array_get($_POST, 'smbd_tags_private');
1099
+ $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_tags_limits_to', 0));
1100
+ $delete_options['force_delete'] = array_get($_POST, 'smbd_tags_force_delete', 'false');
1101
 
1102
+ $delete_options['tags_op'] = array_get($_POST, 'smbd_tags_op');
1103
+ $delete_options['tags_days'] = array_get($_POST, 'smbd_tags_days');
1104
 
1105
  if (array_get($_POST, 'smbd_tags_cron', 'false') == 'true') {
1106
  $freq = $_POST['smbd_tags_cron_freq'];
1111
  } else {
1112
  wp_schedule_event($time, $freq, self::CRON_HOOK_TAGS, array($delete_options));
1113
  }
1114
+ $this->msg = __('Posts from the selected tags are scheduled for deletion.', 'bulk-delete') . ' ' .
1115
+ sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/options-general.php?page=bulk-delete-cron');
1116
  } else {
1117
+ $deleted_count = self::delete_tags($delete_options);
1118
+ $this->msg = sprintf( _n('Deleted %d post from the selected tags', 'Deleted %d posts from the selected tags' , $deleted_count, 'bulk-delete' ), $deleted_count);
1119
  }
1120
 
1121
  break;
1122
 
1123
  case "bulk-delete-taxs":
1124
  // delete by taxs
1125
+
1126
+ $delete_options = array();
1127
+ $delete_options['selected_taxs'] = array_get($_POST, 'smbd_taxs');
1128
+ $delete_options['selected_tax_terms'] = array_get($_POST, 'smbd_tax_terms');
1129
+ $delete_options['restrict'] = array_get($_POST, 'smbd_taxs_restrict', FALSE);
1130
+ $delete_options['private'] = array_get($_POST, 'smbd_taxs_private');
1131
+ $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_taxs_limit_to', 0));
1132
+ $delete_options['force_delete'] = array_get($_POST, 'smbd_taxs_force_delete', 'false');
1133
+
1134
+ $delete_options['taxs_op'] = array_get($_POST, 'smbd_taxs_op');
1135
+ $delete_options['taxs_days'] = array_get($_POST, 'smbd_taxs_days');
1136
+
1137
+ if (array_get($_POST, 'smbd_taxs_cron', 'false') == 'true') {
1138
+ $freq = $_POST['smbd_taxs_cron_freq'];
1139
+ $time = strtotime($_POST['smbd_taxs_cron_start']) - ( get_option('gmt_offset') * 60 * 60 );
 
 
 
 
 
 
 
 
 
 
 
1140
 
1141
+ if ($freq == -1) {
1142
+ wp_schedule_single_event($time, self::CRON_HOOK_TAXONOMY, array($delete_options));
1143
  } else {
1144
+ wp_schedule_event($time, $freq, self::CRON_HOOK_TAXONOMY, array($delete_options));
 
 
 
 
 
1145
  }
1146
+ $this->msg = __('Posts from the selected custom taxonomies are scheduled for deletion.', 'bulk-delete') . ' ' .
1147
+ sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/options-general.php?page=bulk-delete-cron');
1148
+ } else {
1149
+ $deleted_count = self::delete_taxs($delete_options);
1150
+ $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);
1151
  }
 
1152
  break;
1153
 
1154
  case "bulk-delete-post-status":
1155
  // Delete by post status like drafts, pending posts etc
1156
 
1157
  $delete_options = array();
1158
+ $delete_options['restrict'] = array_get($_POST, 'smbd_post_status_restrict', FALSE);
1159
+ $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_post_status_limits_to', 0));
1160
+ $delete_options['force_delete'] = array_get($_POST, 'smbd_post_status_force_delete', 'false');
1161
 
1162
+ $delete_options['post_status_op'] = array_get($_POST, 'smbd_post_status_op');
1163
  $delete_options['post_status_days'] = array_get($_POST, 'smbd_post_status_days');
1164
 
1165
+ $delete_options['drafts'] = array_get($_POST, 'smbd_drafts');
1166
+ $delete_options['pending'] = array_get($_POST, 'smbd_pending');
1167
+ $delete_options['future'] = array_get($_POST, 'smbd_future');
1168
+ $delete_options['private'] = array_get($_POST, 'smbd_private');
1169
 
1170
  if (array_get($_POST, 'smbd_post_status_cron', 'false') == 'true') {
1171
  $freq = $_POST['smbd_post_status_cron_freq'];
1176
  } else {
1177
  wp_schedule_event($time, $freq, self::CRON_HOOK_POST_STATUS, array($delete_options));
1178
  }
1179
+ $this->msg = __('Posts with the selected status are scheduled for deletion.', 'bulk-delete') . ' ' .
1180
+ sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/options-general.php?page=bulk-delete-cron');
1181
  } else {
1182
+ $deleted_count = self::delete_post_status($delete_options);
1183
+ $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);
1184
  }
1185
 
1186
  break;
1189
  // Delete pages
1190
 
1191
  $delete_options = array();
1192
+ $delete_options['restrict'] = array_get($_POST, 'smbd_page_restrict', FALSE);
1193
+ $delete_options['limit_to'] = absint(array_get($_POST, 'smbd_page_limits_to', 0));
1194
  $delete_options['force_delete'] = array_get($_POST, 'smbd_page_force_delete', 'false');
1195
 
1196
+ $delete_options['page_op'] = array_get($_POST, 'smbd_page_op');
1197
+ $delete_options['page_days'] = array_get($_POST, 'smbd_page_days');
1198
 
1199
+ $delete_options['publish'] = array_get($_POST, 'smbd_published_pages');
1200
+ $delete_options['drafts'] = array_get($_POST, 'smbd_draft_pages');
1201
+ $delete_options['pending'] = array_get($_POST, 'smbd_pending_pages');
1202
+ $delete_options['future'] = array_get($_POST, 'smbd_future_pages');
1203
+ $delete_options['private'] = array_get($_POST, 'smbd_private_pages');
1204
 
1205
  if (array_get($_POST, 'smbd_pages_cron', 'false') == 'true') {
1206
  $freq = $_POST['smbd_pages_cron_freq'];
1211
  } else {
1212
  wp_schedule_event($time, $freq , self::CRON_HOOK_PAGES, array($delete_options));
1213
  }
1214
+ $this->msg = __('The selected pages are scheduled for deletion.', 'bulk-delete') . ' ' .
1215
+ sprintf( __('See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete'), get_bloginfo("wpurl") . '/wp-admin/options-general.php?page=bulk-delete-cron');
1216
  } else {
1217
+ $deleted_count = self::delete_pages($delete_options);
1218
+ $this->msg = sprintf( _n('Deleted %d page', 'Deleted %d pages' , $deleted_count, 'bulk-delete' ), $deleted_count);
1219
  }
1220
 
1221
  break;
1239
  $postid = url_to_postid( $checkedurl );
1240
  wp_delete_post($postid, $force_delete);
1241
  }
1242
+
1243
+ $deleted_count = count( $url );
1244
+ $this->msg = sprintf( _n( 'Deleted %d post with the specified urls', 'Deleted %d posts with the specified urls' , $deleted_count, 'bulk-delete' ), $deleted_count);
1245
  break;
1246
 
1247
  case "bulk-delete-revisions":
1248
  // Delete page revisions
1249
 
1250
  $delete_options['revisions'] = array_get($_POST, 'smbd_revisions');
1251
+ $deleted_count = self::delete_revisions($delete_options);
1252
 
1253
+ $this->msg = sprintf( _n( 'Deleted %d post revision', 'Deleted %d post revisions' , $deleted_count, 'bulk-delete' ), $deleted_count);
1254
  break;
1255
  }
1256
 
1263
  * Show deleted notice messages
1264
  */
1265
  function deleted_notice() {
1266
+ if ($this->msg != '') {
1267
+ echo "<div class = 'updated'><p>" . $this->msg . "</p></div>";
1268
+ }
1269
+
1270
+ // cleanup
1271
+ $this->msg = '';
1272
+ remove_action('admin_notices', array(&$this, 'deleted_notice'));
1273
  }
1274
 
1275
  /**
1319
  foreach ($posts as $post) {
1320
  wp_delete_post($post->ID, $force_delete);
1321
  }
1322
+
1323
+ return count($posts);
1324
  }
1325
 
1326
  /**
1369
  foreach ($posts as $post) {
1370
  wp_delete_post($post->ID, $force_delete);
1371
  }
1372
+
1373
+ return count($posts);
1374
+ }
1375
+
1376
+ /**
1377
+ * Delete posts by custom taxnomomy
1378
+ */
1379
+ static function delete_taxs($delete_options) {
1380
+
1381
+ $selected_taxs = $delete_options['selected_taxs'];
1382
+ $selected_tax_terms = $delete_options['selected_tax_terms'];
1383
+
1384
+ $options = array(
1385
+ 'post_status'=>'publish',
1386
+ 'post_type' =>'post',
1387
+ 'tax_query' => array(
1388
+ array(
1389
+ 'taxonomy' => $selected_taxs,
1390
+ 'terms' => $selected_tax_terms,
1391
+ 'field' => 'slug'
1392
+ )
1393
+ )
1394
+ );
1395
+
1396
+ $private = $delete_options['private'];
1397
+
1398
+ if ($private == 'true') {
1399
+ $options['post_status'] = 'private';
1400
+ }
1401
+
1402
+ $limit_to = $delete_options['limit_to'];
1403
+
1404
+ if ($limit_to > 0) {
1405
+ $options['showposts'] = $limit_to;
1406
+ } else {
1407
+ $options['nopaging'] = 'true';
1408
+ }
1409
+
1410
+ $force_delete = $delete_options['force_delete'];
1411
+
1412
+ if ($force_delete == 'true') {
1413
+ $force_delete = true;
1414
+ } else {
1415
+ $force_delete = false;
1416
+ }
1417
+
1418
+ if ($delete_options['restrict'] == "true") {
1419
+ $options['op'] = $delete_options['taxs_op'];
1420
+ $options['days'] = $delete_options['taxs_days'];
1421
+
1422
+ if (!class_exists('Bulk_Delete_By_Days')) {
1423
+ require_once dirname(__FILE__) . '/include/class-bulk-delete-by-days.php';
1424
+ }
1425
+ $bulk_Delete_By_Days = new Bulk_Delete_By_Days;
1426
+ }
1427
+
1428
+ $wp_query = new WP_Query();
1429
+ $posts = $wp_query->query($options);
1430
+
1431
+ foreach ($posts as $post) {
1432
+ wp_delete_post($post->ID, $force_delete);
1433
+ }
1434
+
1435
+ return count( $posts );
1436
  }
1437
 
1438
  /**
1498
  foreach ($posts as $post) {
1499
  wp_delete_post($post->ID, $force_delete);
1500
  }
1501
+
1502
+ return count( $posts );
1503
  }
1504
 
1505
  /**
1583
  foreach ($revisions as $revision) {
1584
  wp_delete_post( $revision->ID );
1585
  }
1586
+
1587
+ return count( $revisions );
1588
  }
1589
+
1590
+ return 0;
1591
  }
1592
 
1593
  /**
1643
  return isset($array[$key]) ? $array[$key] : $default;
1644
  }
1645
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1646
  ?>
include/class-cron-list-table.php CHANGED
@@ -48,31 +48,38 @@ class Cron_List_Table extends WP_List_Table {
48
  echo '<ul style="list-style:disc; padding-left:35px">';
49
 
50
  echo '<li>';
51
- echo '<strong>', __('Bulk Delete Schedule Categories'), '</strong>', ' - ';
52
  echo __('Adds the ability to schedule auto delete of posts based on categories', 'bulk-delete');
53
- echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-categories">', __('More Info'), '</a>.';
54
- echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-category-addon">', __('Buy now'), '</a>';
55
  echo '</li>';
56
 
57
  echo '<li>';
58
- echo '<strong>', __('Bulk Delete Schedule Tags'), '</strong>', ' - ';
59
  echo __('Adds the ability to schedule auto delete of posts based on tags', 'bulk-delete');
60
- echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-tags">', __('More Info'), '</a>.';
61
- echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-tags-addon">', __('Buy now'), '</a>';
62
  echo '</li>';
63
 
64
  echo '<li>';
65
- echo '<strong>', __('Bulk Delete Schedule Pages'), '</strong>', ' - ';
 
 
 
 
 
 
 
66
  echo __('Adds the ability to schedule auto delete pages', 'bulk-delete');
67
- echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-pages">', __('More Info'), '</a>.';
68
- echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-pages-addon">', __('Buy now'), '</a>';
69
  echo '</li>';
70
 
71
  echo '<li>';
72
- echo '<strong>', __('Bulk Delete Schedule by Post Status'), '</strong>', ' - ';
73
  echo __('Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete');
74
- echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-post-status">', __('More Info'), '</a>.';
75
- echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-post-status-addon">', __('Buy now'), '</a>';
76
  echo '</li>';
77
 
78
  echo '</ul>';
@@ -85,10 +92,10 @@ class Cron_List_Table extends WP_List_Table {
85
  */
86
  function get_columns() {
87
  return $columns= array(
88
- 'col_cron_due'=>__('Next Due (GMT/UTC)'),
89
- 'col_cron_schedule'=>__('Schedule'),
90
- 'col_cron_type'=>__('Type'),
91
- 'col_cron_options'=>__('Options')
92
  );
93
  }
94
 
48
  echo '<ul style="list-style:disc; padding-left:35px">';
49
 
50
  echo '<li>';
51
+ echo '<strong>', __('Bulk Delete Schedule Categories', 'bulk-delete'), '</strong>', ' - ';
52
  echo __('Adds the ability to schedule auto delete of posts based on categories', 'bulk-delete');
53
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-categories">', __('More Info', 'bulk-delete'), '</a>.';
54
+ echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-category-addon">', __('Buy now', 'bulk-delete'), '</a>';
55
  echo '</li>';
56
 
57
  echo '<li>';
58
+ echo '<strong>', __('Bulk Delete Schedule Tags', 'bulk-delete'), '</strong>', ' - ';
59
  echo __('Adds the ability to schedule auto delete of posts based on tags', 'bulk-delete');
60
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-tags">', __('More Info', 'bulk-delete'), '</a>.';
61
+ echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-tags-addon">', __('Buy now', 'bulk-delete'), '</a>';
62
  echo '</li>';
63
 
64
  echo '<li>';
65
+ echo '<strong>', __('Bulk Delete Schedule Custom Taxonomy', 'bulk-delete'), '</strong>', ' - ';
66
+ echo __('Adds the ability to schedule auto delete of posts based on custom taxonomies', 'bulk-delete');
67
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-taxonomy">', __('More Info', 'bulk-delete'), '</a>.';
68
+ echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-taxonomy-addon">', __('Buy now', 'bulk-delete'), '</a>';
69
+ echo '</li>';
70
+
71
+ echo '<li>';
72
+ echo '<strong>', __('Bulk Delete Schedule Pages', 'bulk-delete'), '</strong>', ' - ';
73
  echo __('Adds the ability to schedule auto delete pages', 'bulk-delete');
74
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-pages">', __('More Info', 'bulk-delete'), '</a>.';
75
+ echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-pages-addon">', __('Buy now', 'bulk-delete'), '</a>';
76
  echo '</li>';
77
 
78
  echo '<li>';
79
+ echo '<strong>', __('Bulk Delete Schedule by Post Status', 'bulk-delete'), '</strong>', ' - ';
80
  echo __('Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete');
81
+ echo ' <a href = "http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-post-status">', __('More Info', 'bulk-delete'), '</a>.';
82
+ echo ' <a href = "http://sudarmuthu.com/out/buy-bulk-delete-post-status-addon">', __('Buy now', 'bulk-delete'), '</a>';
83
  echo '</li>';
84
 
85
  echo '</ul>';
92
  */
93
  function get_columns() {
94
  return $columns= array(
95
+ 'col_cron_due'=>__('Next Due (GMT/UTC)', 'bulk-delete'),
96
+ 'col_cron_schedule'=>__('Schedule', 'bulk-delete'),
97
+ 'col_cron_type'=>__('Type', 'bulk-delete'),
98
+ 'col_cron_options'=>__('Options', 'bulk-delete')
99
  );
100
  }
101
 
js/bulk-delete.js CHANGED
@@ -9,6 +9,12 @@
9
 
10
  /*global BULK_DELETE, jQuery, document*/
11
  jQuery(document).ready(function () {
 
 
 
 
 
 
12
  /**
13
  * Toggle closing of different sections
14
  */
@@ -25,6 +31,10 @@ jQuery(document).ready(function () {
25
  timeFormat: 'HH:mm:ss'
26
  });
27
 
 
 
 
 
28
  jQuery('#smbd_pages_cron_start').datetimepicker({
29
  timeFormat: 'HH:mm:ss'
30
  });
@@ -32,6 +42,20 @@ jQuery(document).ready(function () {
32
  jQuery('#smbd_post_status_cron_start').datetimepicker({
33
  timeFormat: 'HH:mm:ss'
34
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  });
36
 
37
  // TODO: Bring these global functions inside the jQuery document selection callback
9
 
10
  /*global BULK_DELETE, jQuery, document*/
11
  jQuery(document).ready(function () {
12
+ // hide all terms
13
+ function hideAllTerms() {
14
+ jQuery('table.terms').hide();
15
+ jQuery('input.terms').attr('checked', false);
16
+ }
17
+
18
  /**
19
  * Toggle closing of different sections
20
  */
31
  timeFormat: 'HH:mm:ss'
32
  });
33
 
34
+ jQuery('#smbd_taxs_cron_start').datetimepicker({
35
+ timeFormat: 'HH:mm:ss'
36
+ });
37
+
38
  jQuery('#smbd_pages_cron_start').datetimepicker({
39
  timeFormat: 'HH:mm:ss'
40
  });
42
  jQuery('#smbd_post_status_cron_start').datetimepicker({
43
  timeFormat: 'HH:mm:ss'
44
  });
45
+
46
+ // taxonomy click handling
47
+ jQuery('.custom-tax').change(function () {
48
+ var $this = jQuery(this),
49
+ $tax = $this.val(),
50
+ $terms = jQuery('table.terms_' + $tax);
51
+
52
+ if ($this.is(':checked')) {
53
+ hideAllTerms();
54
+ $terms.show('slow');
55
+ }
56
+ });
57
+
58
+ hideAllTerms();
59
  });
60
 
61
  // TODO: Bring these global functions inside the jQuery document selection callback
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 3.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
- "POT-Creation-Date: 2013-05-05 12:07:06+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,306 +12,407 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #. #-#-#-#-# bulk-delete.pot (Bulk Delete 3.2) #-#-#-#-#
16
  #. Plugin Name of the plugin/theme
17
- #: bulk-delete.php:121 bulk-delete.php:192
18
  msgid "Bulk Delete"
19
  msgstr ""
20
 
21
- #: bulk-delete.php:122 bulk-delete.php:937
22
  msgid "Bulk Delete Schedules"
23
  msgstr ""
24
 
25
- #: bulk-delete.php:145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  msgid "Are you sure you want to delete all the selected posts"
27
  msgstr ""
28
 
29
- #: bulk-delete.php:146
30
  msgid "Please select at least one option"
31
  msgstr ""
32
 
33
- #: bulk-delete.php:163
34
  msgid "Manage"
35
  msgstr ""
36
 
37
- #: bulk-delete.php:177
38
  msgid "Buy Addons"
39
  msgstr ""
40
 
41
- #: bulk-delete.php:188
42
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
43
  msgstr ""
44
 
45
- #: bulk-delete.php:199
46
  msgid "By Post Status"
47
  msgstr ""
48
 
49
- #: bulk-delete.php:201 bulk-delete.php:840
50
  msgid "Select the posts which you want to delete"
51
  msgstr ""
52
 
53
- #: bulk-delete.php:217
54
  msgid "All Draft Posts"
55
  msgstr ""
56
 
57
- #: bulk-delete.php:217
58
  msgid "Drafts"
59
  msgstr ""
60
 
61
- #: bulk-delete.php:224
62
  msgid "All Pending posts"
63
  msgstr ""
64
 
65
- #: bulk-delete.php:224 bulk-delete.php:231 bulk-delete.php:238
66
- #: bulk-delete.php:333 bulk-delete.php:462 bulk-delete.php:588
67
  msgid "Posts"
68
  msgstr ""
69
 
70
- #: bulk-delete.php:231
71
  msgid "All scheduled posts"
72
  msgstr ""
73
 
74
- #: bulk-delete.php:238
75
  msgid "All private posts"
76
  msgstr ""
77
 
78
- #: bulk-delete.php:244 bulk-delete.php:350 bulk-delete.php:479
79
- #: bulk-delete.php:605 bulk-delete.php:722 bulk-delete.php:809
80
  msgid "Choose your filtering options"
81
  msgstr ""
82
 
83
- #: bulk-delete.php:251 bulk-delete.php:359 bulk-delete.php:488
84
- #: bulk-delete.php:614
85
  msgid "Only restrict to posts which are "
86
  msgstr ""
87
 
88
- #: bulk-delete.php:253 bulk-delete.php:361 bulk-delete.php:490
89
- #: bulk-delete.php:616 bulk-delete.php:731
90
  msgid "older than"
91
  msgstr ""
92
 
93
- #: bulk-delete.php:254 bulk-delete.php:362 bulk-delete.php:491
94
- #: bulk-delete.php:617 bulk-delete.php:732
95
  msgid "posted within last"
96
  msgstr ""
97
 
98
- #: bulk-delete.php:256 bulk-delete.php:364 bulk-delete.php:493
99
- #: bulk-delete.php:619 bulk-delete.php:734
100
  msgid "days"
101
  msgstr ""
102
 
103
- #: bulk-delete.php:262 bulk-delete.php:370 bulk-delete.php:499
104
- #: bulk-delete.php:625 bulk-delete.php:740 bulk-delete.php:815
105
  msgid "Move to Trash"
106
  msgstr ""
107
 
108
- #: bulk-delete.php:263 bulk-delete.php:371 bulk-delete.php:500
109
- #: bulk-delete.php:626 bulk-delete.php:741 bulk-delete.php:816
110
  msgid "Delete permanently"
111
  msgstr ""
112
 
113
- #: bulk-delete.php:270 bulk-delete.php:387 bulk-delete.php:516
114
- #: bulk-delete.php:642 bulk-delete.php:748
115
  msgid "Only delete first "
116
  msgstr ""
117
 
118
- #: bulk-delete.php:271 bulk-delete.php:388 bulk-delete.php:517
119
- #: bulk-delete.php:643 bulk-delete.php:749
120
  msgid "posts."
121
  msgstr ""
122
 
123
- #: bulk-delete.php:272 bulk-delete.php:389 bulk-delete.php:518
124
- #: bulk-delete.php:644 bulk-delete.php:750
125
  msgid ""
126
  "Use this option if there are more than 1000 posts and the script timesout."
127
  msgstr ""
128
 
129
- #: bulk-delete.php:278 bulk-delete.php:395 bulk-delete.php:524
130
- #: bulk-delete.php:756
131
  msgid "Delete now"
132
  msgstr ""
133
 
134
- #: bulk-delete.php:279 bulk-delete.php:396 bulk-delete.php:525
135
- #: bulk-delete.php:757 include/class-cron-list-table.php:89
 
136
  msgid "Schedule"
137
  msgstr ""
138
 
139
- #: bulk-delete.php:280 bulk-delete.php:397 bulk-delete.php:526
140
- #: bulk-delete.php:758
141
  msgid "repeat "
142
  msgstr ""
143
 
144
- #: bulk-delete.php:282 bulk-delete.php:399 bulk-delete.php:528
145
- #: bulk-delete.php:760
146
  msgid "Don't repeat"
147
  msgstr ""
148
 
149
- #: bulk-delete.php:292 bulk-delete.php:409 bulk-delete.php:538
150
- #: bulk-delete.php:770
151
  msgid "Only available in Pro Addon"
152
  msgstr ""
153
 
154
- #: bulk-delete.php:299 bulk-delete.php:422 bulk-delete.php:545
155
- #: bulk-delete.php:651 bulk-delete.php:777 bulk-delete.php:824
156
- #: bulk-delete.php:860
157
  msgid "Bulk Delete "
158
  msgstr ""
159
 
160
- #: bulk-delete.php:315
161
  msgid "By Category"
162
  msgstr ""
163
 
164
- #: bulk-delete.php:317
165
  msgid "Select the categories whose post you want to delete"
166
  msgstr ""
167
 
168
- #: bulk-delete.php:344
169
  msgid "All Categories"
170
  msgstr ""
171
 
172
- #: bulk-delete.php:377 bulk-delete.php:506 bulk-delete.php:632
173
  msgid "Public posts"
174
  msgstr ""
175
 
176
- #: bulk-delete.php:378 bulk-delete.php:507 bulk-delete.php:633
177
  msgid "Private Posts"
178
  msgstr ""
179
 
180
- #: bulk-delete.php:415
181
  msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
182
  msgstr ""
183
 
184
- #: bulk-delete.php:443
185
  msgid "By Tags"
186
  msgstr ""
187
 
188
- #: bulk-delete.php:446
189
  msgid "Select the tags whose post you want to delete"
190
  msgstr ""
191
 
192
- #: bulk-delete.php:473
193
  msgid "All Tags"
194
  msgstr ""
195
 
196
- #: bulk-delete.php:568
197
  msgid "By Taxonomies"
198
  msgstr ""
199
 
200
- #: bulk-delete.php:570
201
  msgid "Select the taxonomies whose post you want to delete"
202
  msgstr ""
203
 
204
- #: bulk-delete.php:599
205
- msgid "All Taxonomies"
 
 
206
  msgstr ""
207
 
208
- #: bulk-delete.php:668
209
  msgid "By Pages"
210
  msgstr ""
211
 
212
- #: bulk-delete.php:670
213
  msgid "Select the pages which you want to delete"
214
  msgstr ""
215
 
216
- #: bulk-delete.php:688
217
  msgid "All Published Pages"
218
  msgstr ""
219
 
220
- #: bulk-delete.php:688 bulk-delete.php:695 bulk-delete.php:702
221
- #: bulk-delete.php:709 bulk-delete.php:716
222
  msgid "Pages"
223
  msgstr ""
224
 
225
- #: bulk-delete.php:695
226
  msgid "All Draft Pages"
227
  msgstr ""
228
 
229
- #: bulk-delete.php:702
230
  msgid "All Scheduled Pages"
231
  msgstr ""
232
 
233
- #: bulk-delete.php:709
234
  msgid "All Pending Pages"
235
  msgstr ""
236
 
237
- #: bulk-delete.php:716
238
  msgid "All Private Pages"
239
  msgstr ""
240
 
241
- #: bulk-delete.php:729
242
  msgid "Only restrict to pages which are "
243
  msgstr ""
244
 
245
- #: bulk-delete.php:791
246
  msgid "By Urls"
247
  msgstr ""
248
 
249
- #: bulk-delete.php:793
250
  msgid "Delete these specific pages"
251
  msgstr ""
252
 
253
- #: bulk-delete.php:801
254
  msgid "Enter one post url (not post ids) per line"
255
  msgstr ""
256
 
257
- #: bulk-delete.php:838
258
  msgid "By Post Revisions"
259
  msgstr ""
260
 
261
- #: bulk-delete.php:852
262
  msgid "All Revisions"
263
  msgstr ""
264
 
265
- #: bulk-delete.php:852
266
  msgid "Revisions"
267
  msgstr ""
268
 
269
- #: bulk-delete.php:877
270
  msgid "Debug Information"
271
  msgstr ""
272
 
273
- #: bulk-delete.php:879
274
  msgid ""
275
  "If you are seeing a blank page after clicking the Bulk Delete button, then "
276
  msgstr ""
277
 
278
- #: bulk-delete.php:879
279
  msgid "check out this FAQ"
280
  msgstr ""
281
 
282
- #: bulk-delete.php:880
283
  msgid "You also need need the following debug information."
284
  msgstr ""
285
 
286
- #: bulk-delete.php:883
287
  msgid "Available memory size "
288
  msgstr ""
289
 
290
- #: bulk-delete.php:887
291
  msgid "Script time out "
292
  msgstr ""
293
 
294
- #: bulk-delete.php:891
295
  msgid "Script input time "
296
  msgstr ""
297
 
298
- #: bulk-delete.php:915
299
  msgid "plugin"
300
  msgstr ""
301
 
302
- #: bulk-delete.php:915
303
  msgid "Version"
304
  msgstr ""
305
 
306
- #: bulk-delete.php:915
307
  msgid "by"
308
  msgstr ""
309
 
310
- #: bulk-delete.php:1174
311
- msgid "All the selected posts have been successfully deleted."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  msgstr ""
313
 
314
- #: bulk-delete.php:1432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  msgctxt "Cron table date format"
316
  msgid "M j, Y @ G:i"
317
  msgstr ""
@@ -347,11 +448,13 @@ msgstr ""
347
 
348
  #: include/class-cron-list-table.php:53 include/class-cron-list-table.php:60
349
  #: include/class-cron-list-table.php:67 include/class-cron-list-table.php:74
 
350
  msgid "More Info"
351
  msgstr ""
352
 
353
  #: include/class-cron-list-table.php:54 include/class-cron-list-table.php:61
354
  #: include/class-cron-list-table.php:68 include/class-cron-list-table.php:75
 
355
  msgid "Buy now"
356
  msgstr ""
357
 
@@ -364,40 +467,49 @@ msgid "Adds the ability to schedule auto delete of posts based on tags"
364
  msgstr ""
365
 
366
  #: include/class-cron-list-table.php:65
367
- msgid "Bulk Delete Schedule Pages"
368
  msgstr ""
369
 
370
  #: include/class-cron-list-table.php:66
371
- msgid "Adds the ability to schedule auto delete pages"
 
372
  msgstr ""
373
 
374
  #: include/class-cron-list-table.php:72
375
- msgid "Bulk Delete Schedule by Post Status"
376
  msgstr ""
377
 
378
  #: include/class-cron-list-table.php:73
 
 
 
 
 
 
 
 
379
  msgid ""
380
  "Adds the ability to schedule auto delete of posts based on post status like "
381
  "drafts, pending posts, scheduled posts etc."
382
  msgstr ""
383
 
384
- #: include/class-cron-list-table.php:88
385
  msgid "Next Due (GMT/UTC)"
386
  msgstr ""
387
 
388
- #: include/class-cron-list-table.php:90
389
  msgid "Type"
390
  msgstr ""
391
 
392
- #: include/class-cron-list-table.php:91
393
  msgid "Options"
394
  msgstr ""
395
 
396
- #: include/class-cron-list-table.php:137
397
  msgid "Delete"
398
  msgstr ""
399
 
400
- #: include/class-cron-list-table.php:162
401
  msgid "You have not scheduled any bulk delete jobs."
402
  msgstr ""
403
 
2
  # This file is distributed under the same license as the Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Bulk Delete 3.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
+ "POT-Creation-Date: 2013-05-11 11:38:12+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.pot (Bulk Delete 3.3) #-#-#-#-#
16
  #. Plugin Name of the plugin/theme
17
+ #: bulk-delete.php:126 bulk-delete.php:231
18
  msgid "Bulk Delete"
19
  msgstr ""
20
 
21
+ #: bulk-delete.php:127 bulk-delete.php:1020
22
  msgid "Bulk Delete Schedules"
23
  msgstr ""
24
 
25
+ #: bulk-delete.php:149
26
+ msgid "About Plugin"
27
+ msgstr ""
28
+
29
+ #: bulk-delete.php:151
30
+ msgid ""
31
+ "This plugin allows you to delete posts in bulk from selected categories, "
32
+ "tags, custom taxonomies or by post status like drafts, pending posts, "
33
+ "scheduled posts etc."
34
+ msgstr ""
35
+
36
+ #: bulk-delete.php:158
37
+ msgid "More information"
38
+ msgstr ""
39
+
40
+ #: bulk-delete.php:159
41
+ msgid "Plugin Homepage/support"
42
+ msgstr ""
43
+
44
+ #: bulk-delete.php:160
45
+ msgid "Buy pro addons"
46
+ msgstr ""
47
+
48
+ #: bulk-delete.php:161
49
+ msgid "Plugin author's blog"
50
+ msgstr ""
51
+
52
+ #: bulk-delete.php:162
53
+ msgid "Other Plugin's by Author"
54
+ msgstr ""
55
+
56
+ #: bulk-delete.php:184
57
  msgid "Are you sure you want to delete all the selected posts"
58
  msgstr ""
59
 
60
+ #: bulk-delete.php:185
61
  msgid "Please select at least one option"
62
  msgstr ""
63
 
64
+ #: bulk-delete.php:202
65
  msgid "Manage"
66
  msgstr ""
67
 
68
+ #: bulk-delete.php:216
69
  msgid "Buy Addons"
70
  msgstr ""
71
 
72
+ #: bulk-delete.php:227
73
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
74
  msgstr ""
75
 
76
+ #: bulk-delete.php:238
77
  msgid "By Post Status"
78
  msgstr ""
79
 
80
+ #: bulk-delete.php:240 bulk-delete.php:923
81
  msgid "Select the posts which you want to delete"
82
  msgstr ""
83
 
84
+ #: bulk-delete.php:255
85
  msgid "All Draft Posts"
86
  msgstr ""
87
 
88
+ #: bulk-delete.php:255
89
  msgid "Drafts"
90
  msgstr ""
91
 
92
+ #: bulk-delete.php:262
93
  msgid "All Pending posts"
94
  msgstr ""
95
 
96
+ #: bulk-delete.php:262 bulk-delete.php:269 bulk-delete.php:276
97
+ #: bulk-delete.php:371 bulk-delete.php:500 bulk-delete.php:654
98
  msgid "Posts"
99
  msgstr ""
100
 
101
+ #: bulk-delete.php:269
102
  msgid "All scheduled posts"
103
  msgstr ""
104
 
105
+ #: bulk-delete.php:276
106
  msgid "All private posts"
107
  msgstr ""
108
 
109
+ #: bulk-delete.php:282 bulk-delete.php:388 bulk-delete.php:517
110
+ #: bulk-delete.php:668 bulk-delete.php:805 bulk-delete.php:892
111
  msgid "Choose your filtering options"
112
  msgstr ""
113
 
114
+ #: bulk-delete.php:289 bulk-delete.php:397 bulk-delete.php:526
115
+ #: bulk-delete.php:677
116
  msgid "Only restrict to posts which are "
117
  msgstr ""
118
 
119
+ #: bulk-delete.php:291 bulk-delete.php:399 bulk-delete.php:528
120
+ #: bulk-delete.php:679 bulk-delete.php:814
121
  msgid "older than"
122
  msgstr ""
123
 
124
+ #: bulk-delete.php:292 bulk-delete.php:400 bulk-delete.php:529
125
+ #: bulk-delete.php:680 bulk-delete.php:815
126
  msgid "posted within last"
127
  msgstr ""
128
 
129
+ #: bulk-delete.php:294 bulk-delete.php:402 bulk-delete.php:531
130
+ #: bulk-delete.php:682 bulk-delete.php:817
131
  msgid "days"
132
  msgstr ""
133
 
134
+ #: bulk-delete.php:300 bulk-delete.php:408 bulk-delete.php:537
135
+ #: bulk-delete.php:688 bulk-delete.php:823 bulk-delete.php:898
136
  msgid "Move to Trash"
137
  msgstr ""
138
 
139
+ #: bulk-delete.php:301 bulk-delete.php:409 bulk-delete.php:538
140
+ #: bulk-delete.php:689 bulk-delete.php:824 bulk-delete.php:899
141
  msgid "Delete permanently"
142
  msgstr ""
143
 
144
+ #: bulk-delete.php:308 bulk-delete.php:425 bulk-delete.php:554
145
+ #: bulk-delete.php:705 bulk-delete.php:831
146
  msgid "Only delete first "
147
  msgstr ""
148
 
149
+ #: bulk-delete.php:309 bulk-delete.php:426 bulk-delete.php:555
150
+ #: bulk-delete.php:706 bulk-delete.php:832
151
  msgid "posts."
152
  msgstr ""
153
 
154
+ #: bulk-delete.php:310 bulk-delete.php:427 bulk-delete.php:556
155
+ #: bulk-delete.php:707 bulk-delete.php:833
156
  msgid ""
157
  "Use this option if there are more than 1000 posts and the script timesout."
158
  msgstr ""
159
 
160
+ #: bulk-delete.php:316 bulk-delete.php:433 bulk-delete.php:562
161
+ #: bulk-delete.php:713 bulk-delete.php:839
162
  msgid "Delete now"
163
  msgstr ""
164
 
165
+ #: bulk-delete.php:317 bulk-delete.php:434 bulk-delete.php:563
166
+ #: bulk-delete.php:714 bulk-delete.php:840
167
+ #: include/class-cron-list-table.php:96
168
  msgid "Schedule"
169
  msgstr ""
170
 
171
+ #: bulk-delete.php:318 bulk-delete.php:435 bulk-delete.php:564
172
+ #: bulk-delete.php:715 bulk-delete.php:841
173
  msgid "repeat "
174
  msgstr ""
175
 
176
+ #: bulk-delete.php:320 bulk-delete.php:437 bulk-delete.php:566
177
+ #: bulk-delete.php:717 bulk-delete.php:843
178
  msgid "Don't repeat"
179
  msgstr ""
180
 
181
+ #: bulk-delete.php:330 bulk-delete.php:447 bulk-delete.php:576
182
+ #: bulk-delete.php:727 bulk-delete.php:853
183
  msgid "Only available in Pro Addon"
184
  msgstr ""
185
 
186
+ #: bulk-delete.php:337 bulk-delete.php:460 bulk-delete.php:583
187
+ #: bulk-delete.php:734 bulk-delete.php:860 bulk-delete.php:907
188
+ #: bulk-delete.php:943
189
  msgid "Bulk Delete "
190
  msgstr ""
191
 
192
+ #: bulk-delete.php:353
193
  msgid "By Category"
194
  msgstr ""
195
 
196
+ #: bulk-delete.php:355
197
  msgid "Select the categories whose post you want to delete"
198
  msgstr ""
199
 
200
+ #: bulk-delete.php:382
201
  msgid "All Categories"
202
  msgstr ""
203
 
204
+ #: bulk-delete.php:415 bulk-delete.php:544 bulk-delete.php:695
205
  msgid "Public posts"
206
  msgstr ""
207
 
208
+ #: bulk-delete.php:416 bulk-delete.php:545 bulk-delete.php:696
209
  msgid "Private Posts"
210
  msgstr ""
211
 
212
+ #: bulk-delete.php:453
213
  msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
214
  msgstr ""
215
 
216
+ #: bulk-delete.php:481
217
  msgid "By Tags"
218
  msgstr ""
219
 
220
+ #: bulk-delete.php:484
221
  msgid "Select the tags whose post you want to delete"
222
  msgstr ""
223
 
224
+ #: bulk-delete.php:511
225
  msgid "All Tags"
226
  msgstr ""
227
 
228
+ #: bulk-delete.php:610
229
  msgid "By Taxonomies"
230
  msgstr ""
231
 
232
+ #: bulk-delete.php:612
233
  msgid "Select the taxonomies whose post you want to delete"
234
  msgstr ""
235
 
236
+ #: bulk-delete.php:640
237
+ msgid ""
238
+ "The selected taxonomy has the following terms. Select the terms whose post "
239
+ "you want to delete"
240
  msgstr ""
241
 
242
+ #: bulk-delete.php:751
243
  msgid "By Pages"
244
  msgstr ""
245
 
246
+ #: bulk-delete.php:753
247
  msgid "Select the pages which you want to delete"
248
  msgstr ""
249
 
250
+ #: bulk-delete.php:771
251
  msgid "All Published Pages"
252
  msgstr ""
253
 
254
+ #: bulk-delete.php:771 bulk-delete.php:778 bulk-delete.php:785
255
+ #: bulk-delete.php:792 bulk-delete.php:799
256
  msgid "Pages"
257
  msgstr ""
258
 
259
+ #: bulk-delete.php:778
260
  msgid "All Draft Pages"
261
  msgstr ""
262
 
263
+ #: bulk-delete.php:785
264
  msgid "All Scheduled Pages"
265
  msgstr ""
266
 
267
+ #: bulk-delete.php:792
268
  msgid "All Pending Pages"
269
  msgstr ""
270
 
271
+ #: bulk-delete.php:799
272
  msgid "All Private Pages"
273
  msgstr ""
274
 
275
+ #: bulk-delete.php:812
276
  msgid "Only restrict to pages which are "
277
  msgstr ""
278
 
279
+ #: bulk-delete.php:874
280
  msgid "By Urls"
281
  msgstr ""
282
 
283
+ #: bulk-delete.php:876
284
  msgid "Delete these specific pages"
285
  msgstr ""
286
 
287
+ #: bulk-delete.php:884
288
  msgid "Enter one post url (not post ids) per line"
289
  msgstr ""
290
 
291
+ #: bulk-delete.php:921
292
  msgid "By Post Revisions"
293
  msgstr ""
294
 
295
+ #: bulk-delete.php:935
296
  msgid "All Revisions"
297
  msgstr ""
298
 
299
+ #: bulk-delete.php:935
300
  msgid "Revisions"
301
  msgstr ""
302
 
303
+ #: bulk-delete.php:960
304
  msgid "Debug Information"
305
  msgstr ""
306
 
307
+ #: bulk-delete.php:962
308
  msgid ""
309
  "If you are seeing a blank page after clicking the Bulk Delete button, then "
310
  msgstr ""
311
 
312
+ #: bulk-delete.php:962
313
  msgid "check out this FAQ"
314
  msgstr ""
315
 
316
+ #: bulk-delete.php:963
317
  msgid "You also need need the following debug information."
318
  msgstr ""
319
 
320
+ #: bulk-delete.php:966
321
  msgid "Available memory size "
322
  msgstr ""
323
 
324
+ #: bulk-delete.php:970
325
  msgid "Script time out "
326
  msgstr ""
327
 
328
+ #: bulk-delete.php:974
329
  msgid "Script input time "
330
  msgstr ""
331
 
332
+ #: bulk-delete.php:998
333
  msgid "plugin"
334
  msgstr ""
335
 
336
+ #: bulk-delete.php:998
337
  msgid "Version"
338
  msgstr ""
339
 
340
+ #: bulk-delete.php:998
341
  msgid "by"
342
  msgstr ""
343
 
344
+ #: bulk-delete.php:1045
345
+ msgid "The selected scheduled job was successfully deleted "
346
+ msgstr ""
347
+
348
+ #: bulk-delete.php:1083
349
+ msgid "Posts from the selected categories are scheduled for deletion."
350
+ msgstr ""
351
+
352
+ #: bulk-delete.php:1084 bulk-delete.php:1115 bulk-delete.php:1147
353
+ #: bulk-delete.php:1180 bulk-delete.php:1215
354
+ msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
355
+ msgstr ""
356
+
357
+ #: bulk-delete.php:1087
358
+ msgid "Deleted %d post from the selected categories"
359
+ msgid_plural "Deleted %d posts from the selected categories"
360
+ msgstr[0] ""
361
+ msgstr[1] ""
362
+
363
+ #: bulk-delete.php:1114
364
+ msgid "Posts from the selected tags are scheduled for deletion."
365
+ msgstr ""
366
+
367
+ #: bulk-delete.php:1118
368
+ msgid "Deleted %d post from the selected tags"
369
+ msgid_plural "Deleted %d posts from the selected tags"
370
+ msgstr[0] ""
371
+ msgstr[1] ""
372
+
373
+ #: bulk-delete.php:1146
374
+ msgid "Posts from the selected custom taxonomies are scheduled for deletion."
375
+ msgstr ""
376
+
377
+ #: bulk-delete.php:1150
378
+ msgid "Deleted %d post from the selected custom taxonomies"
379
+ msgid_plural "Deleted %d posts from the selected custom taxonomies"
380
+ msgstr[0] ""
381
+ msgstr[1] ""
382
+
383
+ #: bulk-delete.php:1179
384
+ msgid "Posts with the selected status are scheduled for deletion."
385
+ msgstr ""
386
+
387
+ #: bulk-delete.php:1183
388
+ msgid "Deleted %d post with the selected post status"
389
+ msgid_plural "Deleted %d posts with the selected post status"
390
+ msgstr[0] ""
391
+ msgstr[1] ""
392
+
393
+ #: bulk-delete.php:1214
394
+ msgid "The selected pages are scheduled for deletion."
395
  msgstr ""
396
 
397
+ #: bulk-delete.php:1218
398
+ msgid "Deleted %d page"
399
+ msgid_plural "Deleted %d pages"
400
+ msgstr[0] ""
401
+ msgstr[1] ""
402
+
403
+ #: bulk-delete.php:1244
404
+ msgid "Deleted %d post with the specified urls"
405
+ msgid_plural "Deleted %d posts with the specified urls"
406
+ msgstr[0] ""
407
+ msgstr[1] ""
408
+
409
+ #: bulk-delete.php:1253
410
+ msgid "Deleted %d post revision"
411
+ msgid_plural "Deleted %d post revisions"
412
+ msgstr[0] ""
413
+ msgstr[1] ""
414
+
415
+ #: bulk-delete.php:1602
416
  msgctxt "Cron table date format"
417
  msgid "M j, Y @ G:i"
418
  msgstr ""
448
 
449
  #: include/class-cron-list-table.php:53 include/class-cron-list-table.php:60
450
  #: include/class-cron-list-table.php:67 include/class-cron-list-table.php:74
451
+ #: include/class-cron-list-table.php:81
452
  msgid "More Info"
453
  msgstr ""
454
 
455
  #: include/class-cron-list-table.php:54 include/class-cron-list-table.php:61
456
  #: include/class-cron-list-table.php:68 include/class-cron-list-table.php:75
457
+ #: include/class-cron-list-table.php:82
458
  msgid "Buy now"
459
  msgstr ""
460
 
467
  msgstr ""
468
 
469
  #: include/class-cron-list-table.php:65
470
+ msgid "Bulk Delete Schedule Custom Taxonomy"
471
  msgstr ""
472
 
473
  #: include/class-cron-list-table.php:66
474
+ msgid ""
475
+ "Adds the ability to schedule auto delete of posts based on custom taxonomies"
476
  msgstr ""
477
 
478
  #: include/class-cron-list-table.php:72
479
+ msgid "Bulk Delete Schedule Pages"
480
  msgstr ""
481
 
482
  #: include/class-cron-list-table.php:73
483
+ msgid "Adds the ability to schedule auto delete pages"
484
+ msgstr ""
485
+
486
+ #: include/class-cron-list-table.php:79
487
+ msgid "Bulk Delete Schedule by Post Status"
488
+ msgstr ""
489
+
490
+ #: include/class-cron-list-table.php:80
491
  msgid ""
492
  "Adds the ability to schedule auto delete of posts based on post status like "
493
  "drafts, pending posts, scheduled posts etc."
494
  msgstr ""
495
 
496
+ #: include/class-cron-list-table.php:95
497
  msgid "Next Due (GMT/UTC)"
498
  msgstr ""
499
 
500
+ #: include/class-cron-list-table.php:97
501
  msgid "Type"
502
  msgstr ""
503
 
504
+ #: include/class-cron-list-table.php:98
505
  msgid "Options"
506
  msgstr ""
507
 
508
+ #: include/class-cron-list-table.php:144
509
  msgid "Delete"
510
  msgstr ""
511
 
512
+ #: include/class-cron-list-table.php:169
513
  msgid "You have not scheduled any bulk delete jobs."
514
  msgstr ""
515
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: post, comment, delete, bulk, mass, draft, revision, page
4
  Requires at least: 2.0
5
  Tested up to: 3.5.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
- Stable tag: 3.2
8
 
9
  Bulk delete posts from selected categories, tags, custom taxonomies or by post type like drafts, scheduled posts, revisions etc.
10
 
@@ -72,10 +72,11 @@ If you looking for just moving posts, instead of deleting, then use [Bulk Move P
72
 
73
  The following are the list of pro addons that are currently available for purchase to add more features to the Plugin.
74
 
75
- - Bulk Delete Schedule 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)
76
- - Bulk Delete Schedule 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)
77
- - Bulk Delete Schedule Pages - Adds the ability to schedule auto delete of pages. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-pages). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-pages-addon)
78
- - Bulk Delete Schedule by Post Status - Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-post-status). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-post-status-addon)
 
79
 
80
  ### Development
81
 
@@ -89,16 +90,17 @@ If you are looking for ideas, then you can start with one of the following TODO
89
 
90
  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.
91
 
92
- - Close the different sections initially, when the page is loaded
93
- - Change the message based on the option the user has chosen
94
- - Bulk Delete sticky posts
95
  - Bulk Delete by custom post types
 
 
96
  - Bulk delete based on the presence/absence of a word
97
  - Bulk Delete empty posts
98
  - Bulk Delete posts based on users
99
- - Delete images that are used by the posts that are being deleted
100
- - Expandable/collapsible taxonomies
101
  - Bulk delete comments
 
 
 
102
 
103
  ### Support
104
 
@@ -196,6 +198,12 @@ The ability to schedule deletion of posts is available as a pro addon.
196
 
197
  == Changelog ==
198
 
 
 
 
 
 
 
199
  = 2013-05-04 - v3.2 - (Dev time: 20 hours) =
200
  * Added support for scheduling auto delete of pages
201
  * Added support for scheduling auto delete of drafts
@@ -296,6 +304,9 @@ The ability to schedule deletion of posts is available as a pro addon.
296
 
297
  == Upgrade Notice ==
298
 
 
 
 
299
  = 3.2 =
300
 
301
  Fixed bugs in handling post revisions and dates in categories. Added more options to delete pages.
4
  Requires at least: 2.0
5
  Tested up to: 3.5.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
+ Stable tag: 3.3
8
 
9
  Bulk delete posts from selected categories, tags, custom taxonomies or by post type like drafts, scheduled posts, revisions etc.
10
 
72
 
73
  The following are the list of pro addons that are currently available for purchase to add more features to the Plugin.
74
 
75
+ - **Bulk Delete Schedule 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)
76
+ - **Bulk Delete Schedule 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)
77
+ - **Bulk Delete Schedule 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)
78
+ - **Bulk Delete Schedule Pages** - Adds the ability to schedule auto delete of pages. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-pages). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-pages-addon)
79
+ - **Bulk Delete Schedule by Post Status** - Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc. [More details](http://sudarmuthu.com/wordpress/bulk-delete/pro-addons#bulk-delete-schedule-post-status). [Buy now](http://sudarmuthu.com/out/buy-bulk-delete-post-status-addon)
80
 
81
  ### Development
82
 
90
 
91
  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.
92
 
93
+ - Ability to choose the different sections that should be loaded
 
 
94
  - Bulk Delete by custom post types
95
+ - Bulk Delete posts based on page views
96
+ - Bulk Delete sticky posts
97
  - Bulk delete based on the presence/absence of a word
98
  - Bulk Delete empty posts
99
  - Bulk Delete posts based on users
 
 
100
  - Bulk delete comments
101
+ - Delete images that are used by the posts that are being deleted
102
+ - <del>Change the message based on the option the user has chosen</del> - Added in v3.3
103
+ - <del>Expandable/collapsible taxonomies</del> - Added in v3.3
104
 
105
  ### Support
106
 
198
 
199
  == Changelog ==
200
 
201
+ = 2013-05-11 - v3.3 - (Dev time: 10 hours) =
202
+ * Enhanced the deletion of posts using custom taxonomies
203
+ * Added the ability to schedule auto delete of taxonomies by date
204
+ * Cleaned up all messages that are shown to the user
205
+ * Added on screen help tab
206
+
207
  = 2013-05-04 - v3.2 - (Dev time: 20 hours) =
208
  * Added support for scheduling auto delete of pages
209
  * Added support for scheduling auto delete of drafts
304
 
305
  == Upgrade Notice ==
306
 
307
+ = 3.3 =
308
+ Fixed issues in deleting posts using custom taxonomy
309
+
310
  = 3.2 =
311
 
312
  Fixed bugs in handling post revisions and dates in categories. Added more options to delete pages.