Bulk Delete - Version 5.2

Version Description

Ability to delete users in batches and a new addon to delete posts based on users

Download this release

Release Info

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

Code changes from version 5.1 to 5.2

bulk-delete.php CHANGED
@@ -5,7 +5,7 @@ Plugin Script: bulk-delete.php
5
  Plugin URI: http://bulkwp.com
6
  Description: Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
7
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
8
- Version: 5.1
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
@@ -36,7 +36,7 @@ Check readme file for full release notes
36
  * @package Bulk_Delete
37
  * @subpackage core
38
  * @author Sudar
39
- * @version 5.1
40
  */
41
 
42
  // Exit if accessed directly
@@ -56,7 +56,7 @@ final class Bulk_Delete {
56
  */
57
  private static $instance;
58
 
59
- const VERSION = '5.1';
60
 
61
  // page slugs
62
  const POSTS_PAGE_SLUG = 'bulk-delete-posts';
@@ -79,6 +79,7 @@ final class Bulk_Delete {
79
  const CRON_HOOK_CUSTOM_FIELD = 'do-bulk-delete-custom-field';
80
  const CRON_HOOK_TITLE = 'do-bulk-delete-by-title';
81
  const CRON_HOOK_DUPLICATE_TITLE = 'do-bulk-delete-by-duplicate-title';
 
82
 
83
  const CRON_HOOK_PAGES_STATUS = 'do-bulk-delete-pages-by-status';
84
 
@@ -96,6 +97,7 @@ final class Bulk_Delete {
96
  const BOX_TITLE = 'bd_by_title';
97
  const BOX_DUPLICATE_TITLE = 'bd_by_duplicate_title';
98
  const BOX_POST_FROM_TRASH = 'bd_posts_from_trash';
 
99
 
100
  // meta boxes for delete pages
101
  const BOX_PAGE_STATUS = 'bd_by_page_status';
@@ -299,6 +301,7 @@ final class Bulk_Delete {
299
  add_meta_box( self::BOX_CUSTOM_FIELD , __( 'By Custom Field' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_custom_field_box' , $this->posts_page , 'advanced' );
300
  add_meta_box( self::BOX_TITLE , __( 'By Title' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_title_box' , $this->posts_page , 'advanced' );
301
  add_meta_box( self::BOX_DUPLICATE_TITLE , __( 'By Duplicate Title' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_duplicate_title_box' , $this->posts_page , 'advanced' );
 
302
  add_meta_box( self::BOX_POST_FROM_TRASH , __( 'Posts in Trash' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_from_trash' , $this->posts_page , 'advanced' );
303
  }
304
 
5
  Plugin URI: http://bulkwp.com
6
  Description: Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
7
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
8
+ Version: 5.2
9
  License: GPL
10
  Author: Sudar
11
  Author URI: http://sudarmuthu.com/
36
  * @package Bulk_Delete
37
  * @subpackage core
38
  * @author Sudar
39
+ * @version 5.2
40
  */
41
 
42
  // Exit if accessed directly
56
  */
57
  private static $instance;
58
 
59
+ const VERSION = '5.2';
60
 
61
  // page slugs
62
  const POSTS_PAGE_SLUG = 'bulk-delete-posts';
79
  const CRON_HOOK_CUSTOM_FIELD = 'do-bulk-delete-custom-field';
80
  const CRON_HOOK_TITLE = 'do-bulk-delete-by-title';
81
  const CRON_HOOK_DUPLICATE_TITLE = 'do-bulk-delete-by-duplicate-title';
82
+ const CRON_HOOK_POST_BY_ROLE = 'do-bulk-delete-posts-by-role';
83
 
84
  const CRON_HOOK_PAGES_STATUS = 'do-bulk-delete-pages-by-status';
85
 
97
  const BOX_TITLE = 'bd_by_title';
98
  const BOX_DUPLICATE_TITLE = 'bd_by_duplicate_title';
99
  const BOX_POST_FROM_TRASH = 'bd_posts_from_trash';
100
+ const BOX_POST_BY_ROLE = 'bd_post_by_user_role';
101
 
102
  // meta boxes for delete pages
103
  const BOX_PAGE_STATUS = 'bd_by_page_status';
301
  add_meta_box( self::BOX_CUSTOM_FIELD , __( 'By Custom Field' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_custom_field_box' , $this->posts_page , 'advanced' );
302
  add_meta_box( self::BOX_TITLE , __( 'By Title' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_title_box' , $this->posts_page , 'advanced' );
303
  add_meta_box( self::BOX_DUPLICATE_TITLE , __( 'By Duplicate Title' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_duplicate_title_box' , $this->posts_page , 'advanced' );
304
+ add_meta_box( self::BOX_POST_BY_ROLE , __( 'By User Role' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_by_user_role_box' , $this->posts_page , 'advanced' );
305
  add_meta_box( self::BOX_POST_FROM_TRASH , __( 'Posts in Trash' , 'bulk-delete' ) , 'Bulk_Delete_Posts::render_delete_posts_from_trash' , $this->posts_page , 'advanced' );
306
  }
307
 
include/class-bd-license.php CHANGED
@@ -364,6 +364,12 @@ class BD_License {
364
  echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
365
  echo '</li>';
366
 
 
 
 
 
 
 
367
  echo '<li>';
368
  echo '<strong>', __( 'Delete posts by duplicate title', 'bulk-delete' ), '</strong>', ' - ';
369
  echo __( 'Adds the ability to delete posts based on duplicate title', 'bulk-delete' );
@@ -371,9 +377,9 @@ class BD_License {
371
  echo '</li>';
372
 
373
  echo '<li>';
374
- echo '<strong>', __( 'Delete posts by title', 'bulk-delete' ), '</strong>', ' - ';
375
- echo __( 'Adds the ability to delete posts based on title', 'bulk-delete' );
376
- echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
377
  echo '</li>';
378
 
379
  echo '<li>';
364
  echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
365
  echo '</li>';
366
 
367
+ echo '<li>';
368
+ echo '<strong>', __( 'Delete posts by title', 'bulk-delete' ), '</strong>', ' - ';
369
+ echo __( 'Adds the ability to delete posts based on title', 'bulk-delete' );
370
+ echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
371
+ echo '</li>';
372
+
373
  echo '<li>';
374
  echo '<strong>', __( 'Delete posts by duplicate title', 'bulk-delete' ), '</strong>', ' - ';
375
  echo __( 'Adds the ability to delete posts based on duplicate title', 'bulk-delete' );
377
  echo '</li>';
378
 
379
  echo '<li>';
380
+ echo '<strong>', __( 'Delete posts by user role', 'bulk-delete' ), '</strong>', ' - ';
381
+ echo __( 'Adds the ability to delete posts based on user role', 'bulk-delete' );
382
+ echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-user-role/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
383
  echo '</li>';
384
 
385
  echo '<li>';
include/class-bulk-delete-posts.php CHANGED
@@ -1601,6 +1601,34 @@ class Bulk_Delete_Posts {
1601
  }
1602
  }
1603
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1604
  /**
1605
  * Render delete posts from trash box
1606
  *
1601
  }
1602
  }
1603
 
1604
+ /**
1605
+ * Delete posts by user role
1606
+ *
1607
+ * @static
1608
+ * @since 5.2
1609
+ */
1610
+ public static function render_delete_posts_by_user_role_box() {
1611
+
1612
+ if ( Bulk_Delete_Util::is_posts_box_hidden( Bulk_Delete::BOX_POST_BY_ROLE ) ) {
1613
+ 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 );
1614
+ return;
1615
+ }
1616
+ if ( !class_exists( 'Bulk_Delete_Posts_By_User_Role' ) ) {
1617
+ ?>
1618
+ <!-- Posts by user role start-->
1619
+ <p>
1620
+ <span class = "bd-post-by-role-pro" style = "color:red">
1621
+ <?php _e( 'You need "Bulk Delete Posts by User Role" Addon, to delete post based on User Role', 'bulk-delete' ); ?>
1622
+ <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-user-role/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a>
1623
+ </span>
1624
+ </p>
1625
+ <!-- Posts by user role end-->
1626
+ <?php
1627
+ } else {
1628
+ Bulk_Delete_Posts_By_User_Role::render_delete_posts_by_user_role_box();
1629
+ }
1630
+ }
1631
+
1632
  /**
1633
  * Render delete posts from trash box
1634
  *
include/class-bulk-delete-users.php CHANGED
@@ -69,7 +69,17 @@ class Bulk_Delete_Users {
69
  <tr>
70
  <td scope="row">
71
  <input name="smbdu_role_no_posts" id="smbdu_role_no_posts" value = "true" type = "checkbox">
72
- <?php _e( "Only if user doesn't have any post", 'bulk-delete' ); ?>
 
 
 
 
 
 
 
 
 
 
73
  </td>
74
  </tr>
75
 
@@ -123,7 +133,7 @@ class Bulk_Delete_Users {
123
 
124
  $delete_options['login_restrict'] = array_get( $_POST, 'smbdu_login_restrict', FALSE );
125
  $delete_options['login_days'] = array_get( $_POST, 'smbdu_login_days' );
126
- $delete_options['limit_to'] = array_get( $_POST, 'smbdu_role_limit' );
127
 
128
  if (array_get( $_POST, 'smbdu_userrole_cron', 'false' ) == 'true' ) {
129
  $freq = $_POST['smbdu_userrole_cron_freq'];
@@ -167,6 +177,10 @@ class Bulk_Delete_Users {
167
 
168
  $options = array();
169
  $options['role'] = $role;
 
 
 
 
170
  $users = get_users( $options );
171
 
172
  foreach ( $users as $user ) {
69
  <tr>
70
  <td scope="row">
71
  <input name="smbdu_role_no_posts" id="smbdu_role_no_posts" value = "true" type = "checkbox">
72
+ <?php _e( "Only if user doesn't have any post. Only posts from 'post' post type would be considered.", 'bulk-delete' ); ?>
73
+ </td>
74
+ </tr>
75
+
76
+ <tr>
77
+ <td scope="row">
78
+ <input name="smbdu_userrole_limit" id="smbdu_userrole_limit" value = "true" type = "checkbox">
79
+ <?php _e( 'Only delete first ', 'bulk-delete' );?>
80
+ <input type="textbox" name="smbdu_userrole_limit_to" id="smbdu_userrole_limit_to" disabled value ="0" maxlength="4" size="4">
81
+ <?php _e( 'users.', 'bulk-delete' );?>
82
+ <?php _e( 'Use this option if there are more than 1000 users or the script timesout.', 'bulk-delete' ) ?>
83
  </td>
84
  </tr>
85
 
133
 
134
  $delete_options['login_restrict'] = array_get( $_POST, 'smbdu_login_restrict', FALSE );
135
  $delete_options['login_days'] = array_get( $_POST, 'smbdu_login_days' );
136
+ $delete_options['limit_to'] = absint( array_get( $_POST, 'smbdu_userrole_limit_to', 0 ) );
137
 
138
  if (array_get( $_POST, 'smbdu_userrole_cron', 'false' ) == 'true' ) {
139
  $freq = $_POST['smbdu_userrole_cron_freq'];
177
 
178
  $options = array();
179
  $options['role'] = $role;
180
+ if ( $delete_options['limit_to'] > 0 ) {
181
+ $options['number'] = $limit_to;
182
+ }
183
+
184
  $users = get_users( $options );
185
 
186
  foreach ( $users as $user ) {
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', '_title', '_dup_title', 'u_userrole'], function (index, value) {
51
  // invoke the date time picker
52
  jQuery('#smbd' + value + '_cron_start').datetimepicker({
53
  timeFormat: 'HH:mm:ss'
47
  // for post boxes
48
  postboxes.add_postbox_toggles(pagenow);
49
 
50
+ jQuery.each(['_cats', '_tags', '_taxs', '_pages', '_post_status', '_types', '_cf', '_title', '_dup_title', '_post_by_role', 'u_userrole'], function (index, value) {
51
  // invoke the date time picker
52
  jQuery('#smbd' + value + '_cron_start').datetimepicker({
53
  timeFormat: 'HH:mm:ss'
languages/bulk-delete.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Bulk Delete 5.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
- "POT-Creation-Date: 2014-06-15 09:25:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,137 +12,137 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: bulk-delete.php:160 bulk-delete.php:172
16
  msgid "Cheatin&#8217; huh?"
17
  msgstr ""
18
 
19
- #. #-#-#-#-# bulk-delete.pot (Bulk Delete 5.1) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
- #: bulk-delete.php:241
22
  msgid "Bulk Delete"
23
  msgstr ""
24
 
25
- #: bulk-delete.php:243 bulk-delete.php:403 include/admin-ui.php:52
26
  msgid "Bulk Delete Posts"
27
  msgstr ""
28
 
29
- #: bulk-delete.php:244 bulk-delete.php:456
30
  msgid "Bulk Delete Pages"
31
  msgstr ""
32
 
33
- #: bulk-delete.php:245 bulk-delete.php:507 include/admin-ui.php:49
34
  msgid "Bulk Delete Users"
35
  msgstr ""
36
 
37
- #: bulk-delete.php:246 bulk-delete.php:570
38
  msgid "Bulk Delete Schedules"
39
  msgstr ""
40
 
41
- #: bulk-delete.php:246
42
  msgid "Schedules"
43
  msgstr ""
44
 
45
- #: bulk-delete.php:247 include/class-bd-license.php:30
46
  msgid "Addon Licenses"
47
  msgstr ""
48
 
49
- #: bulk-delete.php:248
50
  msgid "Bulk Delete System Info"
51
  msgstr ""
52
 
53
- #: bulk-delete.php:248
54
  msgid "System Info"
55
  msgstr ""
56
 
57
- #: bulk-delete.php:292
58
  msgid "By Post Status"
59
  msgstr ""
60
 
61
- #: bulk-delete.php:293
62
  msgid "By Category"
63
  msgstr ""
64
 
65
- #: bulk-delete.php:294
66
  msgid "By Tag"
67
  msgstr ""
68
 
69
- #: bulk-delete.php:295
70
  msgid "By Custom Taxonomy"
71
  msgstr ""
72
 
73
- #: bulk-delete.php:296
74
  msgid "By Custom Post Types"
75
  msgstr ""
76
 
77
- #: bulk-delete.php:297
78
  msgid "By URL"
79
  msgstr ""
80
 
81
- #: bulk-delete.php:298
82
  msgid "By Post Revision"
83
  msgstr ""
84
 
85
- #: bulk-delete.php:299
86
  msgid "By Custom Field"
87
  msgstr ""
88
 
89
- #: bulk-delete.php:300
90
  msgid "By Title"
91
  msgstr ""
92
 
93
- #: bulk-delete.php:301
94
  msgid "By Duplicate Title"
95
  msgstr ""
96
 
97
- #: bulk-delete.php:302 tmp_addon/bulk-delete-from-trash.php:114
 
 
 
 
98
  msgid "Posts in Trash"
99
  msgstr ""
100
 
101
- #: bulk-delete.php:333
102
  msgid "By Page status"
103
  msgstr ""
104
 
105
- #: bulk-delete.php:334
106
  msgid "Pages in Trash"
107
  msgstr ""
108
 
109
- #: bulk-delete.php:361
110
- msgid "By User Role"
111
- msgstr ""
112
-
113
- #: bulk-delete.php:382
114
  msgid "Are you sure you want to delete all the selected posts"
115
  msgstr ""
116
 
117
- #: bulk-delete.php:383
118
  msgid "Are you sure you want to delete all the selected users"
119
  msgstr ""
120
 
121
- #: bulk-delete.php:387
122
  msgid "Please select posts from at least one option"
123
  msgstr ""
124
 
125
- #: bulk-delete.php:388
126
  msgid "Please enter at least one page url"
127
  msgstr ""
128
 
129
- #: bulk-delete.php:389
130
  msgid "Please enter some value for custom field key"
131
  msgstr ""
132
 
133
- #: bulk-delete.php:390
134
  msgid "Please enter some value for title"
135
  msgstr ""
136
 
137
- #: bulk-delete.php:420
138
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
139
  msgstr ""
140
 
141
- #: bulk-delete.php:473
142
  msgid "WARNING: Pages deleted once cannot be retrieved back. Use with caution."
143
  msgstr ""
144
 
145
- #: bulk-delete.php:524
146
  msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
147
  msgstr ""
148
 
@@ -231,91 +231,99 @@ msgstr ""
231
  #: include/class-bd-license.php:388 include/class-bd-license.php:394
232
  #: include/class-bd-license.php:400 include/class-bd-license.php:406
233
  #: include/class-bd-license.php:412 include/class-bd-license.php:418
234
- #: include/class-bd-license.php:424
235
  msgid "More Info"
236
  msgstr ""
237
 
238
  #: include/class-bd-license.php:368
239
- msgid "Delete posts by duplicate title"
240
  msgstr ""
241
 
242
  #: include/class-bd-license.php:369
243
- msgid "Adds the ability to delete posts based on duplicate title"
244
  msgstr ""
245
 
246
  #: include/class-bd-license.php:374
247
- msgid "Delete posts by title"
248
  msgstr ""
249
 
250
  #: include/class-bd-license.php:375
251
- msgid "Adds the ability to delete posts based on title"
252
  msgstr ""
253
 
254
  #: include/class-bd-license.php:380
255
- msgid "Delete from trash"
256
  msgstr ""
257
 
258
  #: include/class-bd-license.php:381
259
- msgid "Adds the ability to delete posts and pages from trash"
260
  msgstr ""
261
 
262
  #: include/class-bd-license.php:386
263
- msgid "Scheduler for deleting Posts by Category"
264
  msgstr ""
265
 
266
  #: include/class-bd-license.php:387
267
- msgid "Adds the ability to schedule auto delete of posts based on category"
268
  msgstr ""
269
 
270
  #: include/class-bd-license.php:392
271
- msgid "Scheduler for deleting Posts by Tag"
272
  msgstr ""
273
 
274
  #: include/class-bd-license.php:393
275
- msgid "Adds the ability to schedule auto delete of posts based on tag"
276
  msgstr ""
277
 
278
  #: include/class-bd-license.php:398
279
- msgid "Scheduler for deleting Posts by Custom Taxonomy"
280
  msgstr ""
281
 
282
  #: include/class-bd-license.php:399
 
 
 
 
 
 
 
 
283
  msgid ""
284
  "Adds the ability to schedule auto delete of posts based on custom taxonomy"
285
  msgstr ""
286
 
287
- #: include/class-bd-license.php:404
288
  msgid "Scheduler for deleting Posts by Custom Post Type"
289
  msgstr ""
290
 
291
- #: include/class-bd-license.php:405
292
  msgid ""
293
  "Adds the ability to schedule auto delete of posts based on custom post type"
294
  msgstr ""
295
 
296
- #: include/class-bd-license.php:410
297
  msgid "Scheduler for deleting Posts by Post Status"
298
  msgstr ""
299
 
300
- #: include/class-bd-license.php:411
301
  msgid ""
302
  "Adds the ability to schedule auto delete of posts based on post status like "
303
  "drafts, pending posts, scheduled posts etc."
304
  msgstr ""
305
 
306
- #: include/class-bd-license.php:416
307
  msgid "Scheduler for deleting Pages by Status"
308
  msgstr ""
309
 
310
- #: include/class-bd-license.php:417
311
  msgid "Adds the ability to schedule auto delete pages based on status"
312
  msgstr ""
313
 
314
- #: include/class-bd-license.php:422
315
  msgid "Scheduler for deleting Users by User Role"
316
  msgstr ""
317
 
318
- #: include/class-bd-license.php:423
319
  msgid "Adds the ability to schedule auto delete of users based on user role"
320
  msgstr ""
321
 
@@ -393,7 +401,8 @@ msgstr ""
393
  #: include/class-bulk-delete-posts.php:1525
394
  #: include/class-bulk-delete-posts.php:1554
395
  #: include/class-bulk-delete-posts.php:1584
396
- #: include/class-bulk-delete-posts.php:1612
 
397
  #: include/class-bulk-delete-users.php:17
398
  msgid ""
399
  "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the "
@@ -443,6 +452,7 @@ msgstr ""
443
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:190
444
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:155
445
  #: tmp_addon/bulk-delete-posts-by-title.php:106
 
446
  msgid "Choose your filtering options"
447
  msgstr ""
448
 
@@ -494,6 +504,7 @@ msgstr ""
494
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:210
495
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:161
496
  #: tmp_addon/bulk-delete-posts-by-title.php:126
 
497
  msgid "Move to Trash"
498
  msgstr ""
499
 
@@ -507,6 +518,7 @@ msgstr ""
507
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:211
508
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:162
509
  #: tmp_addon/bulk-delete-posts-by-title.php:127
 
510
  msgid "Delete permanently"
511
  msgstr ""
512
 
@@ -516,8 +528,10 @@ msgstr ""
516
  #: include/class-bulk-delete-posts.php:640
517
  #: include/class-bulk-delete-posts.php:917
518
  #: include/class-bulk-delete-posts.php:1170
 
519
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:227
520
  #: tmp_addon/bulk-delete-posts-by-title.php:143
 
521
  msgid "Only delete first "
522
  msgstr ""
523
 
@@ -536,10 +550,11 @@ msgstr ""
536
  #: include/class-bulk-delete-posts.php:648
537
  #: include/class-bulk-delete-posts.php:925
538
  #: include/class-bulk-delete-posts.php:1178
539
- #: include/class-bulk-delete-users.php:78
540
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:235
541
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:168
542
  #: tmp_addon/bulk-delete-posts-by-title.php:151
 
543
  msgid "Delete now"
544
  msgstr ""
545
 
@@ -549,10 +564,11 @@ msgstr ""
549
  #: include/class-bulk-delete-posts.php:649
550
  #: include/class-bulk-delete-posts.php:926
551
  #: include/class-bulk-delete-posts.php:1179
552
- #: include/class-bulk-delete-users.php:79 include/class-cron-list-table.php:56
553
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:236
554
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:169
555
  #: tmp_addon/bulk-delete-posts-by-title.php:152
 
556
  msgid "Schedule"
557
  msgstr ""
558
 
@@ -562,10 +578,11 @@ msgstr ""
562
  #: include/class-bulk-delete-posts.php:650
563
  #: include/class-bulk-delete-posts.php:927
564
  #: include/class-bulk-delete-posts.php:1180
565
- #: include/class-bulk-delete-users.php:80
566
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:237
567
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:170
568
  #: tmp_addon/bulk-delete-posts-by-title.php:153
 
569
  msgid "repeat "
570
  msgstr ""
571
 
@@ -575,10 +592,11 @@ msgstr ""
575
  #: include/class-bulk-delete-posts.php:652
576
  #: include/class-bulk-delete-posts.php:929
577
  #: include/class-bulk-delete-posts.php:1182
578
- #: include/class-bulk-delete-users.php:82
579
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:239
580
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:172
581
  #: tmp_addon/bulk-delete-posts-by-title.php:155
 
582
  msgid "Don't repeat"
583
  msgstr ""
584
 
@@ -588,10 +606,11 @@ msgstr ""
588
  #: include/class-bulk-delete-posts.php:662
589
  #: include/class-bulk-delete-posts.php:939
590
  #: include/class-bulk-delete-posts.php:1192
591
- #: include/class-bulk-delete-users.php:92
592
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:249
593
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:182
594
  #: tmp_addon/bulk-delete-posts-by-title.php:165
 
595
  msgid "Only available in Pro Addon"
596
  msgstr ""
597
 
@@ -603,12 +622,13 @@ msgstr ""
603
  #: include/class-bulk-delete-posts.php:1199
604
  #: include/class-bulk-delete-posts.php:1394
605
  #: include/class-bulk-delete-posts.php:1468
606
- #: include/class-bulk-delete-users.php:106
607
  #: tmp_addon/bulk-delete-from-trash.php:124
608
  #: tmp_addon/bulk-delete-from-trash.php:206
609
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:263
610
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:196
611
  #: tmp_addon/bulk-delete-posts-by-title.php:179
 
612
  msgid "Bulk Delete "
613
  msgstr ""
614
 
@@ -622,10 +642,11 @@ msgstr ""
622
  #: include/class-bulk-delete-posts.php:708
623
  #: include/class-bulk-delete-posts.php:987
624
  #: include/class-bulk-delete-posts.php:1239
625
- #: include/class-bulk-delete-users.php:139
626
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:305
627
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:241
628
  #: tmp_addon/bulk-delete-posts-by-title.php:216
 
629
  msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
630
  msgstr ""
631
 
@@ -704,6 +725,7 @@ msgstr ""
704
  #: include/class-bulk-delete-posts.php:1171
705
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:228
706
  #: tmp_addon/bulk-delete-posts-by-title.php:144
 
707
  msgid "posts."
708
  msgstr ""
709
 
@@ -763,10 +785,11 @@ msgid "Private Posts"
763
  msgstr ""
764
 
765
  #: include/class-bulk-delete-posts.php:434
766
- #: include/class-bulk-delete-users.php:98
767
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:255
768
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:188
769
  #: tmp_addon/bulk-delete-posts-by-title.php:171
 
770
  msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
771
  msgstr ""
772
 
@@ -899,10 +922,16 @@ msgid ""
899
  msgstr ""
900
 
901
  #: include/class-bulk-delete-posts.php:1621
 
 
 
 
 
 
902
  msgid "You need \"Bulk Delete From Trash\" Addon, to delete post in Trash."
903
  msgstr ""
904
 
905
- #: include/class-bulk-delete-posts.php:1646
906
  msgid "The selected scheduled job was successfully deleted "
907
  msgstr ""
908
 
@@ -921,6 +950,7 @@ msgid "Select the user roles from which you want to delete users"
921
  msgstr ""
922
 
923
  #: include/class-bulk-delete-users.php:33
 
924
  msgid "Users"
925
  msgstr ""
926
 
@@ -933,14 +963,25 @@ msgid "Need Simple Login Log Plugin"
933
  msgstr ""
934
 
935
  #: include/class-bulk-delete-users.php:72
936
- msgid "Only if user doesn't have any post"
 
 
 
 
 
 
 
 
 
 
 
937
  msgstr ""
938
 
939
- #: include/class-bulk-delete-users.php:138
940
  msgid "Users from the selected userrole are scheduled for deletion."
941
  msgstr ""
942
 
943
- #: include/class-bulk-delete-users.php:142
944
  msgid "Deleted %d user from the selected roles"
945
  msgid_plural "Deleted %d users from the selected role"
946
  msgstr[0] ""
@@ -1050,6 +1091,7 @@ msgstr[1] ""
1050
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:480
1051
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:324
1052
  #: tmp_addon/bulk-delete-posts-by-title.php:359
 
1053
  #: tmp_addon/bulk-delete-scheduler-for-deleting-pages-by-status.php:106
1054
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-category.php:106
1055
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-custom-field.php:106
@@ -1058,6 +1100,7 @@ msgstr[1] ""
1058
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-status.php:106
1059
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-tag.php:106
1060
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-taxonomy.php:101
 
1061
  #: tmp_addon/bulk-delete-scheduler-for-deleting-users-by-role.php:106
1062
  msgid ""
1063
  "<strong>%s</strong> addon needs <a href=\"%s\">Bulk Delete plugin</a> to be "
@@ -1220,6 +1263,29 @@ msgstr ""
1220
  msgid "Posts matching the selected title setting are scheduled for deletion."
1221
  msgstr ""
1222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1223
  #. Plugin URI of the plugin/theme
1224
  msgid "http://bulkwp.com"
1225
  msgstr ""
2
  # This file is distributed under the same license as the Bulk Delete package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Bulk Delete 5.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
7
+ "POT-Creation-Date: 2014-07-03 13:00:57+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:162 bulk-delete.php:174
16
  msgid "Cheatin&#8217; huh?"
17
  msgstr ""
18
 
19
+ #. #-#-#-#-# bulk-delete.pot (Bulk Delete 5.2) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
+ #: bulk-delete.php:243
22
  msgid "Bulk Delete"
23
  msgstr ""
24
 
25
+ #: bulk-delete.php:245 bulk-delete.php:406 include/admin-ui.php:52
26
  msgid "Bulk Delete Posts"
27
  msgstr ""
28
 
29
+ #: bulk-delete.php:246 bulk-delete.php:459
30
  msgid "Bulk Delete Pages"
31
  msgstr ""
32
 
33
+ #: bulk-delete.php:247 bulk-delete.php:510 include/admin-ui.php:49
34
  msgid "Bulk Delete Users"
35
  msgstr ""
36
 
37
+ #: bulk-delete.php:248 bulk-delete.php:573
38
  msgid "Bulk Delete Schedules"
39
  msgstr ""
40
 
41
+ #: bulk-delete.php:248
42
  msgid "Schedules"
43
  msgstr ""
44
 
45
+ #: bulk-delete.php:249 include/class-bd-license.php:30
46
  msgid "Addon Licenses"
47
  msgstr ""
48
 
49
+ #: bulk-delete.php:250
50
  msgid "Bulk Delete System Info"
51
  msgstr ""
52
 
53
+ #: bulk-delete.php:250
54
  msgid "System Info"
55
  msgstr ""
56
 
57
+ #: bulk-delete.php:294
58
  msgid "By Post Status"
59
  msgstr ""
60
 
61
+ #: bulk-delete.php:295
62
  msgid "By Category"
63
  msgstr ""
64
 
65
+ #: bulk-delete.php:296
66
  msgid "By Tag"
67
  msgstr ""
68
 
69
+ #: bulk-delete.php:297
70
  msgid "By Custom Taxonomy"
71
  msgstr ""
72
 
73
+ #: bulk-delete.php:298
74
  msgid "By Custom Post Types"
75
  msgstr ""
76
 
77
+ #: bulk-delete.php:299
78
  msgid "By URL"
79
  msgstr ""
80
 
81
+ #: bulk-delete.php:300
82
  msgid "By Post Revision"
83
  msgstr ""
84
 
85
+ #: bulk-delete.php:301
86
  msgid "By Custom Field"
87
  msgstr ""
88
 
89
+ #: bulk-delete.php:302
90
  msgid "By Title"
91
  msgstr ""
92
 
93
+ #: bulk-delete.php:303
94
  msgid "By Duplicate Title"
95
  msgstr ""
96
 
97
+ #: bulk-delete.php:304 bulk-delete.php:364
98
+ msgid "By User Role"
99
+ msgstr ""
100
+
101
+ #: bulk-delete.php:305 tmp_addon/bulk-delete-from-trash.php:114
102
  msgid "Posts in Trash"
103
  msgstr ""
104
 
105
+ #: bulk-delete.php:336
106
  msgid "By Page status"
107
  msgstr ""
108
 
109
+ #: bulk-delete.php:337
110
  msgid "Pages in Trash"
111
  msgstr ""
112
 
113
+ #: bulk-delete.php:385
 
 
 
 
114
  msgid "Are you sure you want to delete all the selected posts"
115
  msgstr ""
116
 
117
+ #: bulk-delete.php:386
118
  msgid "Are you sure you want to delete all the selected users"
119
  msgstr ""
120
 
121
+ #: bulk-delete.php:390
122
  msgid "Please select posts from at least one option"
123
  msgstr ""
124
 
125
+ #: bulk-delete.php:391
126
  msgid "Please enter at least one page url"
127
  msgstr ""
128
 
129
+ #: bulk-delete.php:392
130
  msgid "Please enter some value for custom field key"
131
  msgstr ""
132
 
133
+ #: bulk-delete.php:393
134
  msgid "Please enter some value for title"
135
  msgstr ""
136
 
137
+ #: bulk-delete.php:423
138
  msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
139
  msgstr ""
140
 
141
+ #: bulk-delete.php:476
142
  msgid "WARNING: Pages deleted once cannot be retrieved back. Use with caution."
143
  msgstr ""
144
 
145
+ #: bulk-delete.php:527
146
  msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
147
  msgstr ""
148
 
231
  #: include/class-bd-license.php:388 include/class-bd-license.php:394
232
  #: include/class-bd-license.php:400 include/class-bd-license.php:406
233
  #: include/class-bd-license.php:412 include/class-bd-license.php:418
234
+ #: include/class-bd-license.php:424 include/class-bd-license.php:430
235
  msgid "More Info"
236
  msgstr ""
237
 
238
  #: include/class-bd-license.php:368
239
+ msgid "Delete posts by title"
240
  msgstr ""
241
 
242
  #: include/class-bd-license.php:369
243
+ msgid "Adds the ability to delete posts based on title"
244
  msgstr ""
245
 
246
  #: include/class-bd-license.php:374
247
+ msgid "Delete posts by duplicate title"
248
  msgstr ""
249
 
250
  #: include/class-bd-license.php:375
251
+ msgid "Adds the ability to delete posts based on duplicate title"
252
  msgstr ""
253
 
254
  #: include/class-bd-license.php:380
255
+ msgid "Delete posts by user role"
256
  msgstr ""
257
 
258
  #: include/class-bd-license.php:381
259
+ msgid "Adds the ability to delete posts based on user role"
260
  msgstr ""
261
 
262
  #: include/class-bd-license.php:386
263
+ msgid "Delete from trash"
264
  msgstr ""
265
 
266
  #: include/class-bd-license.php:387
267
+ msgid "Adds the ability to delete posts and pages from trash"
268
  msgstr ""
269
 
270
  #: include/class-bd-license.php:392
271
+ msgid "Scheduler for deleting Posts by Category"
272
  msgstr ""
273
 
274
  #: include/class-bd-license.php:393
275
+ msgid "Adds the ability to schedule auto delete of posts based on category"
276
  msgstr ""
277
 
278
  #: include/class-bd-license.php:398
279
+ msgid "Scheduler for deleting Posts by Tag"
280
  msgstr ""
281
 
282
  #: include/class-bd-license.php:399
283
+ msgid "Adds the ability to schedule auto delete of posts based on tag"
284
+ msgstr ""
285
+
286
+ #: include/class-bd-license.php:404
287
+ msgid "Scheduler for deleting Posts by Custom Taxonomy"
288
+ msgstr ""
289
+
290
+ #: include/class-bd-license.php:405
291
  msgid ""
292
  "Adds the ability to schedule auto delete of posts based on custom taxonomy"
293
  msgstr ""
294
 
295
+ #: include/class-bd-license.php:410
296
  msgid "Scheduler for deleting Posts by Custom Post Type"
297
  msgstr ""
298
 
299
+ #: include/class-bd-license.php:411
300
  msgid ""
301
  "Adds the ability to schedule auto delete of posts based on custom post type"
302
  msgstr ""
303
 
304
+ #: include/class-bd-license.php:416
305
  msgid "Scheduler for deleting Posts by Post Status"
306
  msgstr ""
307
 
308
+ #: include/class-bd-license.php:417
309
  msgid ""
310
  "Adds the ability to schedule auto delete of posts based on post status like "
311
  "drafts, pending posts, scheduled posts etc."
312
  msgstr ""
313
 
314
+ #: include/class-bd-license.php:422
315
  msgid "Scheduler for deleting Pages by Status"
316
  msgstr ""
317
 
318
+ #: include/class-bd-license.php:423
319
  msgid "Adds the ability to schedule auto delete pages based on status"
320
  msgstr ""
321
 
322
+ #: include/class-bd-license.php:428
323
  msgid "Scheduler for deleting Users by User Role"
324
  msgstr ""
325
 
326
+ #: include/class-bd-license.php:429
327
  msgid "Adds the ability to schedule auto delete of users based on user role"
328
  msgstr ""
329
 
401
  #: include/class-bulk-delete-posts.php:1525
402
  #: include/class-bulk-delete-posts.php:1554
403
  #: include/class-bulk-delete-posts.php:1584
404
+ #: include/class-bulk-delete-posts.php:1613
405
+ #: include/class-bulk-delete-posts.php:1640
406
  #: include/class-bulk-delete-users.php:17
407
  msgid ""
408
  "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the "
452
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:190
453
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:155
454
  #: tmp_addon/bulk-delete-posts-by-title.php:106
455
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:126
456
  msgid "Choose your filtering options"
457
  msgstr ""
458
 
504
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:210
505
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:161
506
  #: tmp_addon/bulk-delete-posts-by-title.php:126
507
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:130
508
  msgid "Move to Trash"
509
  msgstr ""
510
 
518
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:211
519
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:162
520
  #: tmp_addon/bulk-delete-posts-by-title.php:127
521
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:131
522
  msgid "Delete permanently"
523
  msgstr ""
524
 
528
  #: include/class-bulk-delete-posts.php:640
529
  #: include/class-bulk-delete-posts.php:917
530
  #: include/class-bulk-delete-posts.php:1170
531
+ #: include/class-bulk-delete-users.php:79
532
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:227
533
  #: tmp_addon/bulk-delete-posts-by-title.php:143
534
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:138
535
  msgid "Only delete first "
536
  msgstr ""
537
 
550
  #: include/class-bulk-delete-posts.php:648
551
  #: include/class-bulk-delete-posts.php:925
552
  #: include/class-bulk-delete-posts.php:1178
553
+ #: include/class-bulk-delete-users.php:88
554
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:235
555
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:168
556
  #: tmp_addon/bulk-delete-posts-by-title.php:151
557
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:147
558
  msgid "Delete now"
559
  msgstr ""
560
 
564
  #: include/class-bulk-delete-posts.php:649
565
  #: include/class-bulk-delete-posts.php:926
566
  #: include/class-bulk-delete-posts.php:1179
567
+ #: include/class-bulk-delete-users.php:89 include/class-cron-list-table.php:56
568
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:236
569
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:169
570
  #: tmp_addon/bulk-delete-posts-by-title.php:152
571
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:148
572
  msgid "Schedule"
573
  msgstr ""
574
 
578
  #: include/class-bulk-delete-posts.php:650
579
  #: include/class-bulk-delete-posts.php:927
580
  #: include/class-bulk-delete-posts.php:1180
581
+ #: include/class-bulk-delete-users.php:90
582
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:237
583
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:170
584
  #: tmp_addon/bulk-delete-posts-by-title.php:153
585
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:149
586
  msgid "repeat "
587
  msgstr ""
588
 
592
  #: include/class-bulk-delete-posts.php:652
593
  #: include/class-bulk-delete-posts.php:929
594
  #: include/class-bulk-delete-posts.php:1182
595
+ #: include/class-bulk-delete-users.php:92
596
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:239
597
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:172
598
  #: tmp_addon/bulk-delete-posts-by-title.php:155
599
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:151
600
  msgid "Don't repeat"
601
  msgstr ""
602
 
606
  #: include/class-bulk-delete-posts.php:662
607
  #: include/class-bulk-delete-posts.php:939
608
  #: include/class-bulk-delete-posts.php:1192
609
+ #: include/class-bulk-delete-users.php:102
610
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:249
611
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:182
612
  #: tmp_addon/bulk-delete-posts-by-title.php:165
613
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:161
614
  msgid "Only available in Pro Addon"
615
  msgstr ""
616
 
622
  #: include/class-bulk-delete-posts.php:1199
623
  #: include/class-bulk-delete-posts.php:1394
624
  #: include/class-bulk-delete-posts.php:1468
625
+ #: include/class-bulk-delete-users.php:116
626
  #: tmp_addon/bulk-delete-from-trash.php:124
627
  #: tmp_addon/bulk-delete-from-trash.php:206
628
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:263
629
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:196
630
  #: tmp_addon/bulk-delete-posts-by-title.php:179
631
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:175
632
  msgid "Bulk Delete "
633
  msgstr ""
634
 
642
  #: include/class-bulk-delete-posts.php:708
643
  #: include/class-bulk-delete-posts.php:987
644
  #: include/class-bulk-delete-posts.php:1239
645
+ #: include/class-bulk-delete-users.php:149
646
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:305
647
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:241
648
  #: tmp_addon/bulk-delete-posts-by-title.php:216
649
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:206
650
  msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
651
  msgstr ""
652
 
725
  #: include/class-bulk-delete-posts.php:1171
726
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:228
727
  #: tmp_addon/bulk-delete-posts-by-title.php:144
728
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:140
729
  msgid "posts."
730
  msgstr ""
731
 
785
  msgstr ""
786
 
787
  #: include/class-bulk-delete-posts.php:434
788
+ #: include/class-bulk-delete-users.php:108
789
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:255
790
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:188
791
  #: tmp_addon/bulk-delete-posts-by-title.php:171
792
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:167
793
  msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
794
  msgstr ""
795
 
922
  msgstr ""
923
 
924
  #: include/class-bulk-delete-posts.php:1621
925
+ msgid ""
926
+ "You need \"Bulk Delete Posts by User Role\" Addon, to delete post based on "
927
+ "User Role"
928
+ msgstr ""
929
+
930
+ #: include/class-bulk-delete-posts.php:1649
931
  msgid "You need \"Bulk Delete From Trash\" Addon, to delete post in Trash."
932
  msgstr ""
933
 
934
+ #: include/class-bulk-delete-posts.php:1674
935
  msgid "The selected scheduled job was successfully deleted "
936
  msgstr ""
937
 
950
  msgstr ""
951
 
952
  #: include/class-bulk-delete-users.php:33
953
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:95
954
  msgid "Users"
955
  msgstr ""
956
 
963
  msgstr ""
964
 
965
  #: include/class-bulk-delete-users.php:72
966
+ msgid ""
967
+ "Only if user doesn't have any post. Only posts from 'post' post type would "
968
+ "be considered."
969
+ msgstr ""
970
+
971
+ #: include/class-bulk-delete-users.php:81
972
+ msgid "users."
973
+ msgstr ""
974
+
975
+ #: include/class-bulk-delete-users.php:82
976
+ msgid ""
977
+ "Use this option if there are more than 1000 users or the script timesout."
978
  msgstr ""
979
 
980
+ #: include/class-bulk-delete-users.php:148
981
  msgid "Users from the selected userrole are scheduled for deletion."
982
  msgstr ""
983
 
984
+ #: include/class-bulk-delete-users.php:152
985
  msgid "Deleted %d user from the selected roles"
986
  msgid_plural "Deleted %d users from the selected role"
987
  msgstr[0] ""
1091
  #: tmp_addon/bulk-delete-posts-by-custom-field.php:480
1092
  #: tmp_addon/bulk-delete-posts-by-duplicate-title.php:324
1093
  #: tmp_addon/bulk-delete-posts-by-title.php:359
1094
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:296
1095
  #: tmp_addon/bulk-delete-scheduler-for-deleting-pages-by-status.php:106
1096
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-category.php:106
1097
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-custom-field.php:106
1100
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-status.php:106
1101
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-tag.php:106
1102
  #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-taxonomy.php:101
1103
+ #: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-user-role.php:106
1104
  #: tmp_addon/bulk-delete-scheduler-for-deleting-users-by-role.php:106
1105
  msgid ""
1106
  "<strong>%s</strong> addon needs <a href=\"%s\">Bulk Delete plugin</a> to be "
1263
  msgid "Posts matching the selected title setting are scheduled for deletion."
1264
  msgstr ""
1265
 
1266
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:86
1267
+ msgid "Select the user roles from which you want to delete posts"
1268
+ msgstr ""
1269
+
1270
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:103
1271
+ msgid "Select the post types from which you want to delete posts"
1272
+ msgstr ""
1273
+
1274
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:141
1275
+ msgid ""
1276
+ "Use this option if there are more than 1000 posts or the script timesout."
1277
+ msgstr ""
1278
+
1279
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:205
1280
+ msgid "Posts matching the selected user roles are scheduled for deletion."
1281
+ msgstr ""
1282
+
1283
+ #: tmp_addon/bulk-delete-posts-by-user-role.php:209
1284
+ msgid "Deleted %d post from selected user roles"
1285
+ msgid_plural "Deleted %d posts from selected user roles"
1286
+ msgstr[0] ""
1287
+ msgstr[1] ""
1288
+
1289
  #. Plugin URI of the plugin/theme
1290
  msgid "http://bulkwp.com"
1291
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: post, comment, delete, bulk, mass, draft, revision, page
4
  Requires at least: 3.8
5
  Tested up to: 3.9.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
- Stable tag: 5.1
8
 
9
  Bulk delete posts, pages or users in bulk based on different conditions and filters.
10
 
@@ -30,6 +30,7 @@ This Plugin supports the following bulk delete options for deleting posts
30
  - Delete posts by custom field (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
31
  - Delete posts by title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
32
  - Delete posts by duplicate title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
 
33
  - Delete all draft posts
34
  - Delete all pending posts
35
  - Delete all private posts
@@ -91,6 +92,7 @@ The following are the popular pro addons that are available for purchase. The fu
91
  - **Delete posts by custom field** - Adds the ability to delete posts based on custom field. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
92
  - **Delete posts by title** - Adds the ability to delete posts based on title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
93
  - **Delete posts by duplicate title** - Adds the ability to delete posts based on duplicate title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
 
94
  - **Delete from trash** - Adds the ability to delete posts and pages from trash. [More details](http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
95
  - **Scheduler for deleting posts Category** - Adds the ability to schedule auto delete of posts based on category. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
96
  - **Scheduler for deleting posts Tag** - Adds the ability to schedule auto delete of posts based on tag. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
@@ -115,9 +117,9 @@ The following are the features that I am thinking of adding to the Plugin, when
115
  - Bulk Delete posts based on page views
116
  - Bulk delete based on the presence/absence of a word
117
  - Bulk Delete empty posts
118
- - Bulk Delete posts based on users
119
  - Bulk delete comments
120
  - Delete images that are used by the posts that are being deleted
 
121
  - <del>Bulk Delete sticky posts</del> - Added in v4.4
122
  - <del>Change the message based on the option the user has chosen</del> - Added in v3.3
123
  - <del>Expandable/collapsible taxonomies</del> - Added in v3.3
@@ -244,6 +246,11 @@ You can contact us by posting about it in our [support forum](http://bulkwp.com/
244
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
245
  == Changelog ==
246
 
 
 
 
 
 
247
  = 2014-06-14 - v5.1 - (Dev time: 8 hours) =
248
  - New: Added the "Delete posts from trash" addon (Issue #65)
249
 
@@ -442,6 +449,9 @@ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/
442
 
443
  == Upgrade Notice ==
444
 
 
 
 
445
  = 5.1 =
446
  Added the ability to delete posts and pages from trash
447
 
4
  Requires at least: 3.8
5
  Tested up to: 3.9.1
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
+ Stable tag: 5.2
8
 
9
  Bulk delete posts, pages or users in bulk based on different conditions and filters.
10
 
30
  - Delete posts by custom field (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
31
  - Delete posts by title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
32
  - Delete posts by duplicate title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
33
+ - Delete posts by user role (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-user-role/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
34
  - Delete all draft posts
35
  - Delete all pending posts
36
  - Delete all private posts
92
  - **Delete posts by custom field** - Adds the ability to delete posts based on custom field. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
93
  - **Delete posts by title** - Adds the ability to delete posts based on title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
94
  - **Delete posts by duplicate title** - Adds the ability to delete posts based on duplicate title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
95
+ - **Delete posts by user role** - Adds the ability to delete posts based on user role. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-user-role/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
96
  - **Delete from trash** - Adds the ability to delete posts and pages from trash. [More details](http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
97
  - **Scheduler for deleting posts Category** - Adds the ability to schedule auto delete of posts based on category. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
98
  - **Scheduler for deleting posts Tag** - Adds the ability to schedule auto delete of posts based on tag. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
117
  - Bulk Delete posts based on page views
118
  - Bulk delete based on the presence/absence of a word
119
  - Bulk Delete empty posts
 
120
  - Bulk delete comments
121
  - Delete images that are used by the posts that are being deleted
122
+ - <del>Bulk Delete posts based on users</del> - Added in v5.2
123
  - <del>Bulk Delete sticky posts</del> - Added in v4.4
124
  - <del>Change the message based on the option the user has chosen</del> - Added in v3.3
125
  - <del>Expandable/collapsible taxonomies</del> - Added in v3.3
246
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
247
  == Changelog ==
248
 
249
+ = 2014-07-03 - v5.2 - (Dev time: 8 hours) =
250
+ - New: Ability to delete users in batches (Issue #47)
251
+ - New: A new addon to delete posts based on users (Issue #6)
252
+
253
+
254
  = 2014-06-14 - v5.1 - (Dev time: 8 hours) =
255
  - New: Added the "Delete posts from trash" addon (Issue #65)
256
 
449
 
450
  == Upgrade Notice ==
451
 
452
+ = 5.2 =
453
+ Ability to delete users in batches and a new addon to delete posts based on users
454
+
455
  = 5.1 =
456
  Added the ability to delete posts and pages from trash
457