Version Description
Download this release
Release Info
Developer | sudar |
Plugin | Bulk Delete |
Version | 4.4.2 |
Comparing to | |
See all releases |
Code changes from version 4.4.1 to 4.4.2
- bulk-delete.php +12 -35
- languages/bulk-delete.pot +95 -48
- readme.txt +7 -2
bulk-delete.php
CHANGED
@@ -5,7 +5,7 @@ Plugin Script: bulk-delete.php
|
|
5 |
Plugin URI: http://sudarmuthu.com/wordpress/bulk-delete
|
6 |
Description: Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
|
7 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
8 |
-
Version: 4.4.
|
9 |
License: GPL
|
10 |
Author: Sudar
|
11 |
Author URI: http://sudarmuthu.com/
|
@@ -53,7 +53,7 @@ if ( !function_exists( 'array_get' ) ) {
|
|
53 |
*/
|
54 |
class Bulk_Delete {
|
55 |
|
56 |
-
const VERSION = '4.4.
|
57 |
|
58 |
// page slugs
|
59 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
@@ -724,41 +724,17 @@ class Bulk_Delete {
|
|
724 |
|
725 |
case "bulk-delete-cf":
|
726 |
// delete by custom field
|
|
|
727 |
|
728 |
if ( class_exists( 'Bulk_Delete_Custom_Field' ) ) {
|
729 |
-
$
|
730 |
-
$delete_options['cf_key'] = array_get($_POST, 'smbd_cf_key');
|
731 |
-
$delete_options['cf_field_op'] = array_get($_POST, 'smbd_cf_field_op');
|
732 |
-
$delete_options['cf_value'] = array_get($_POST, 'smbd_cf_value');
|
733 |
-
$delete_options['restrict'] = array_get($_POST, 'smbd_cf_restrict', FALSE);
|
734 |
-
$delete_options['private'] = array_get($_POST, 'smbd_cf_private');
|
735 |
-
$delete_options['limit_to'] = absint(array_get($_POST, 'smbd_cf_limit_to', 0));
|
736 |
-
$delete_options['force_delete'] = array_get($_POST, 'smbd_cf_force_delete', 'false');
|
737 |
-
|
738 |
-
$delete_options['cf_op'] = array_get($_POST, 'smbd_cf_op');
|
739 |
-
$delete_options['cf_days'] = array_get($_POST, 'smbd_cf_days');
|
740 |
-
|
741 |
-
if (array_get($_POST, 'smbd_cf_cron', 'false') == 'true') {
|
742 |
-
$freq = $_POST['smbd_cf_cron_freq'];
|
743 |
-
$time = strtotime($_POST['smbd_cf_cron_start']) - ( get_option('gmt_offset') * 60 * 60 );
|
744 |
-
|
745 |
-
if ($freq == -1) {
|
746 |
-
wp_schedule_single_event($time, self::CRON_HOOK_CUSTOM_FIELD, array($delete_options));
|
747 |
-
} else {
|
748 |
-
wp_schedule_event($time, $freq , self::CRON_HOOK_CUSTOM_FIELD, array($delete_options));
|
749 |
-
}
|
750 |
-
|
751 |
-
$this->msg = __( 'Posts matching the selected custom field setting are scheduled for deletion.', 'bulk-delete' ) . ' ' .
|
752 |
-
sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . self::CRON_PAGE_SLUG );
|
753 |
-
} else {
|
754 |
-
$deleted_count = Bulk_Delete_Custom_Field::delete_custom_field( $delete_options );
|
755 |
-
$this->msg = sprintf( _n( 'Deleted %d post using the selected custom field condition', 'Deleted %d posts using the selected custom field condition' , $deleted_count, 'bulk-delete' ), $deleted_count );
|
756 |
-
}
|
757 |
}
|
758 |
break;
|
759 |
|
760 |
case "bulk-delete-by-title":
|
761 |
// delete by title
|
|
|
|
|
762 |
|
763 |
if ( class_exists( 'Bulk_Delete_By_Title' ) ) {
|
764 |
$delete_options = array();
|
@@ -823,8 +799,7 @@ class Bulk_Delete {
|
|
823 |
$options = array(
|
824 |
'post_type' => $post_type,
|
825 |
'category__in' => $selected_cats,
|
826 |
-
'post_status' => 'publish'
|
827 |
-
'nopaging' => 'true'
|
828 |
);
|
829 |
|
830 |
$private = $delete_options['private'];
|
@@ -837,6 +812,8 @@ class Bulk_Delete {
|
|
837 |
|
838 |
if ($limit_to > 0) {
|
839 |
$options['showposts'] = $limit_to;
|
|
|
|
|
840 |
}
|
841 |
|
842 |
$force_delete = $delete_options['force_delete'];
|
@@ -863,7 +840,7 @@ class Bulk_Delete {
|
|
863 |
foreach ($posts as $post) {
|
864 |
// $force delete parameter to custom post types doesn't work
|
865 |
if ( $force_delete ) {
|
866 |
-
wp_delete_post( $post->ID );
|
867 |
} else {
|
868 |
wp_trash_post( $post->ID );
|
869 |
}
|
@@ -982,7 +959,7 @@ class Bulk_Delete {
|
|
982 |
foreach ($posts as $post) {
|
983 |
// $force delete parameter to custom post types doesn't work
|
984 |
if ( $force_delete ) {
|
985 |
-
wp_delete_post( $post->ID );
|
986 |
} else {
|
987 |
wp_trash_post( $post->ID );
|
988 |
}
|
@@ -1046,7 +1023,7 @@ class Bulk_Delete {
|
|
1046 |
foreach ( $posts as $post ) {
|
1047 |
// $force delete parameter to custom post types doesn't work
|
1048 |
if ( $force_delete ) {
|
1049 |
-
wp_delete_post( $post->ID );
|
1050 |
} else {
|
1051 |
wp_trash_post( $post->ID );
|
1052 |
}
|
5 |
Plugin URI: http://sudarmuthu.com/wordpress/bulk-delete
|
6 |
Description: Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
|
7 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
8 |
+
Version: 4.4.2
|
9 |
License: GPL
|
10 |
Author: Sudar
|
11 |
Author URI: http://sudarmuthu.com/
|
53 |
*/
|
54 |
class Bulk_Delete {
|
55 |
|
56 |
+
const VERSION = '4.4.2';
|
57 |
|
58 |
// page slugs
|
59 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
724 |
|
725 |
case "bulk-delete-cf":
|
726 |
// delete by custom field
|
727 |
+
// TODO: Handle this using filters
|
728 |
|
729 |
if ( class_exists( 'Bulk_Delete_Custom_Field' ) ) {
|
730 |
+
$this->msg = Bulk_Delete_Custom_Field::process_request();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
731 |
}
|
732 |
break;
|
733 |
|
734 |
case "bulk-delete-by-title":
|
735 |
// delete by title
|
736 |
+
// TODO: Move this logic to Bulk Delete By Title addon
|
737 |
+
// TODO: Handle this using filters
|
738 |
|
739 |
if ( class_exists( 'Bulk_Delete_By_Title' ) ) {
|
740 |
$delete_options = array();
|
799 |
$options = array(
|
800 |
'post_type' => $post_type,
|
801 |
'category__in' => $selected_cats,
|
802 |
+
'post_status' => 'publish'
|
|
|
803 |
);
|
804 |
|
805 |
$private = $delete_options['private'];
|
812 |
|
813 |
if ($limit_to > 0) {
|
814 |
$options['showposts'] = $limit_to;
|
815 |
+
} else {
|
816 |
+
$options['nopaging'] = 'true';
|
817 |
}
|
818 |
|
819 |
$force_delete = $delete_options['force_delete'];
|
840 |
foreach ($posts as $post) {
|
841 |
// $force delete parameter to custom post types doesn't work
|
842 |
if ( $force_delete ) {
|
843 |
+
wp_delete_post( $post->ID, TRUE );
|
844 |
} else {
|
845 |
wp_trash_post( $post->ID );
|
846 |
}
|
959 |
foreach ($posts as $post) {
|
960 |
// $force delete parameter to custom post types doesn't work
|
961 |
if ( $force_delete ) {
|
962 |
+
wp_delete_post( $post->ID, TRUE );
|
963 |
} else {
|
964 |
wp_trash_post( $post->ID );
|
965 |
}
|
1023 |
foreach ( $posts as $post ) {
|
1024 |
// $force delete parameter to custom post types doesn't work
|
1025 |
if ( $force_delete ) {
|
1026 |
+
wp_delete_post( $post->ID, TRUE );
|
1027 |
} else {
|
1028 |
wp_trash_post( $post->ID );
|
1029 |
}
|
languages/bulk-delete.pot
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Bulk Delete package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Bulk Delete 4.4.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#. #-#-#-#-# bulk-delete.pot (Bulk Delete 4.4.
|
16 |
#. Plugin Name of the plugin/theme
|
17 |
#: bulk-delete.php:116
|
18 |
msgid "Bulk Delete"
|
@@ -167,7 +167,8 @@ msgstr ""
|
|
167 |
|
168 |
#: bulk-delete.php:478 bulk-delete.php:518 bulk-delete.php:549
|
169 |
#: bulk-delete.php:582 bulk-delete.php:613 bulk-delete.php:649
|
170 |
-
#: bulk-delete.php:684 bulk-delete.php:
|
|
|
171 |
msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
|
172 |
msgstr ""
|
173 |
|
@@ -249,22 +250,11 @@ msgid_plural "Deleted %d post revisions"
|
|
249 |
msgstr[0] ""
|
250 |
msgstr[1] ""
|
251 |
|
252 |
-
#: bulk-delete.php:
|
253 |
-
msgid ""
|
254 |
-
"Posts matching the selected custom field setting are scheduled for deletion."
|
255 |
-
msgstr ""
|
256 |
-
|
257 |
-
#: bulk-delete.php:755
|
258 |
-
msgid "Deleted %d post using the selected custom field condition"
|
259 |
-
msgid_plural "Deleted %d posts using the selected custom field condition"
|
260 |
-
msgstr[0] ""
|
261 |
-
msgstr[1] ""
|
262 |
-
|
263 |
-
#: bulk-delete.php:786
|
264 |
msgid "Posts matching the selected title setting are scheduled for deletion."
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: bulk-delete.php:
|
268 |
msgid "Deleted %d post using the selected title condition"
|
269 |
msgid_plural "Deleted %d posts using the selected title condition"
|
270 |
msgstr[0] ""
|
@@ -338,7 +328,7 @@ msgstr ""
|
|
338 |
#: include/class-bulk-delete-posts.php:787
|
339 |
#: include/class-bulk-delete-posts.php:874
|
340 |
#: include/class-bulk-delete-users.php:42
|
341 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
342 |
#: tmp_addon/bulk-delete-by-title.php:84
|
343 |
msgid "Choose your filtering options"
|
344 |
msgstr ""
|
@@ -352,7 +342,7 @@ msgstr ""
|
|
352 |
#: include/class-bulk-delete-posts.php:348
|
353 |
#: include/class-bulk-delete-posts.php:528
|
354 |
#: include/class-bulk-delete-posts.php:667
|
355 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
356 |
#: tmp_addon/bulk-delete-by-title.php:93
|
357 |
msgid "Only restrict to posts which are "
|
358 |
msgstr ""
|
@@ -363,7 +353,7 @@ msgstr ""
|
|
363 |
#: include/class-bulk-delete-posts.php:530
|
364 |
#: include/class-bulk-delete-posts.php:669
|
365 |
#: include/class-bulk-delete-posts.php:796
|
366 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
367 |
#: tmp_addon/bulk-delete-by-title.php:95
|
368 |
msgid "older than"
|
369 |
msgstr ""
|
@@ -374,7 +364,7 @@ msgstr ""
|
|
374 |
#: include/class-bulk-delete-posts.php:531
|
375 |
#: include/class-bulk-delete-posts.php:670
|
376 |
#: include/class-bulk-delete-posts.php:797
|
377 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
378 |
#: tmp_addon/bulk-delete-by-title.php:96
|
379 |
msgid "posted within last"
|
380 |
msgstr ""
|
@@ -386,7 +376,7 @@ msgstr ""
|
|
386 |
#: include/class-bulk-delete-posts.php:672
|
387 |
#: include/class-bulk-delete-posts.php:799
|
388 |
#: include/class-bulk-delete-users.php:59
|
389 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
390 |
#: tmp_addon/bulk-delete-by-title.php:98
|
391 |
msgid "days"
|
392 |
msgstr ""
|
@@ -398,7 +388,7 @@ msgstr ""
|
|
398 |
#: include/class-bulk-delete-posts.php:678
|
399 |
#: include/class-bulk-delete-posts.php:805
|
400 |
#: include/class-bulk-delete-posts.php:880
|
401 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
402 |
#: tmp_addon/bulk-delete-by-title.php:104
|
403 |
msgid "Move to Trash"
|
404 |
msgstr ""
|
@@ -410,7 +400,7 @@ msgstr ""
|
|
410 |
#: include/class-bulk-delete-posts.php:679
|
411 |
#: include/class-bulk-delete-posts.php:806
|
412 |
#: include/class-bulk-delete-posts.php:881
|
413 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
414 |
#: tmp_addon/bulk-delete-by-title.php:105
|
415 |
msgid "Delete permanently"
|
416 |
msgstr ""
|
@@ -421,7 +411,7 @@ msgstr ""
|
|
421 |
#: include/class-bulk-delete-posts.php:556
|
422 |
#: include/class-bulk-delete-posts.php:688
|
423 |
#: include/class-bulk-delete-posts.php:813
|
424 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
425 |
#: tmp_addon/bulk-delete-by-title.php:121
|
426 |
msgid "Only delete first "
|
427 |
msgstr ""
|
@@ -432,7 +422,7 @@ msgstr ""
|
|
432 |
#: include/class-bulk-delete-posts.php:557
|
433 |
#: include/class-bulk-delete-posts.php:689
|
434 |
#: include/class-bulk-delete-posts.php:814
|
435 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
436 |
#: tmp_addon/bulk-delete-by-title.php:122
|
437 |
msgid "posts."
|
438 |
msgstr ""
|
@@ -443,7 +433,7 @@ msgstr ""
|
|
443 |
#: include/class-bulk-delete-posts.php:558
|
444 |
#: include/class-bulk-delete-posts.php:690
|
445 |
#: include/class-bulk-delete-posts.php:815
|
446 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
447 |
#: tmp_addon/bulk-delete-by-title.php:123
|
448 |
msgid ""
|
449 |
"Use this option if there are more than 1000 posts and the script timesout."
|
@@ -456,7 +446,7 @@ msgstr ""
|
|
456 |
#: include/class-bulk-delete-posts.php:696
|
457 |
#: include/class-bulk-delete-posts.php:821
|
458 |
#: include/class-bulk-delete-users.php:83
|
459 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
460 |
#: tmp_addon/bulk-delete-by-title.php:129
|
461 |
msgid "Delete now"
|
462 |
msgstr ""
|
@@ -469,7 +459,7 @@ msgstr ""
|
|
469 |
#: include/class-bulk-delete-posts.php:822
|
470 |
#: include/class-bulk-delete-users.php:84
|
471 |
#: include/class-cron-list-table.php:124
|
472 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
473 |
#: tmp_addon/bulk-delete-by-title.php:130
|
474 |
msgid "Schedule"
|
475 |
msgstr ""
|
@@ -481,7 +471,7 @@ msgstr ""
|
|
481 |
#: include/class-bulk-delete-posts.php:698
|
482 |
#: include/class-bulk-delete-posts.php:823
|
483 |
#: include/class-bulk-delete-users.php:85
|
484 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
485 |
#: tmp_addon/bulk-delete-by-title.php:131
|
486 |
msgid "repeat "
|
487 |
msgstr ""
|
@@ -493,7 +483,7 @@ msgstr ""
|
|
493 |
#: include/class-bulk-delete-posts.php:700
|
494 |
#: include/class-bulk-delete-posts.php:825
|
495 |
#: include/class-bulk-delete-users.php:87
|
496 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
497 |
#: tmp_addon/bulk-delete-by-title.php:133
|
498 |
msgid "Don't repeat"
|
499 |
msgstr ""
|
@@ -505,7 +495,7 @@ msgstr ""
|
|
505 |
#: include/class-bulk-delete-posts.php:710
|
506 |
#: include/class-bulk-delete-posts.php:835
|
507 |
#: include/class-bulk-delete-users.php:97
|
508 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
509 |
#: tmp_addon/bulk-delete-by-title.php:143
|
510 |
msgid "Only available in Pro Addon"
|
511 |
msgstr ""
|
@@ -519,7 +509,7 @@ msgstr ""
|
|
519 |
#: include/class-bulk-delete-posts.php:889
|
520 |
#: include/class-bulk-delete-posts.php:925
|
521 |
#: include/class-bulk-delete-users.php:111
|
522 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
523 |
#: tmp_addon/bulk-delete-by-title.php:157
|
524 |
msgid "Bulk Delete "
|
525 |
msgstr ""
|
@@ -545,7 +535,7 @@ msgstr ""
|
|
545 |
#: include/class-bulk-delete-posts.php:244
|
546 |
#: include/class-bulk-delete-posts.php:366
|
547 |
#: include/class-bulk-delete-posts.php:546
|
548 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
549 |
#: tmp_addon/bulk-delete-by-title.php:111
|
550 |
msgid "Public posts"
|
551 |
msgstr ""
|
@@ -553,14 +543,14 @@ msgstr ""
|
|
553 |
#: include/class-bulk-delete-posts.php:245
|
554 |
#: include/class-bulk-delete-posts.php:367
|
555 |
#: include/class-bulk-delete-posts.php:547
|
556 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
557 |
#: tmp_addon/bulk-delete-by-title.php:112
|
558 |
msgid "Private Posts"
|
559 |
msgstr ""
|
560 |
|
561 |
#: include/class-bulk-delete-posts.php:282
|
562 |
#: include/class-bulk-delete-users.php:103
|
563 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
564 |
#: tmp_addon/bulk-delete-by-title.php:149
|
565 |
msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
|
566 |
msgstr ""
|
@@ -863,32 +853,81 @@ msgstr ""
|
|
863 |
msgid "You have not scheduled any bulk delete jobs."
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
|
|
|
|
|
|
|
|
867 |
msgid "Choose your custom field settings"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
871 |
msgid "Key "
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
875 |
-
|
876 |
-
msgid "equal to"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
880 |
-
|
881 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
885 |
msgid "Value "
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: tmp_addon/bulk-delete-by-custom-field.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
889 |
msgid "If you want to check for null values, then leave the value column blank"
|
890 |
msgstr ""
|
891 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
892 |
#: tmp_addon/bulk-delete-by-title.php:63
|
893 |
msgid "Choose your title settings"
|
894 |
msgstr ""
|
@@ -897,6 +936,14 @@ msgstr ""
|
|
897 |
msgid "Title"
|
898 |
msgstr ""
|
899 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
#: tmp_addon/bulk-delete-by-title.php:73
|
901 |
msgid "contains"
|
902 |
msgstr ""
|
1 |
+
# Copyright (C) 2014 Bulk Delete
|
2 |
# This file is distributed under the same license as the Bulk Delete package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Bulk Delete 4.4.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
+
"POT-Creation-Date: 2014-01-05 12:47:01+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#. #-#-#-#-# bulk-delete.pot (Bulk Delete 4.4.2) #-#-#-#-#
|
16 |
#. Plugin Name of the plugin/theme
|
17 |
#: bulk-delete.php:116
|
18 |
msgid "Bulk Delete"
|
167 |
|
168 |
#: bulk-delete.php:478 bulk-delete.php:518 bulk-delete.php:549
|
169 |
#: bulk-delete.php:582 bulk-delete.php:613 bulk-delete.php:649
|
170 |
+
#: bulk-delete.php:684 bulk-delete.php:763
|
171 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:286
|
172 |
msgid "See the full list of <a href = \"%s\">scheduled tasks</a>"
|
173 |
msgstr ""
|
174 |
|
250 |
msgstr[0] ""
|
251 |
msgstr[1] ""
|
252 |
|
253 |
+
#: bulk-delete.php:762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
msgid "Posts matching the selected title setting are scheduled for deletion."
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: bulk-delete.php:766
|
258 |
msgid "Deleted %d post using the selected title condition"
|
259 |
msgid_plural "Deleted %d posts using the selected title condition"
|
260 |
msgstr[0] ""
|
328 |
#: include/class-bulk-delete-posts.php:787
|
329 |
#: include/class-bulk-delete-posts.php:874
|
330 |
#: include/class-bulk-delete-users.php:42
|
331 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:168
|
332 |
#: tmp_addon/bulk-delete-by-title.php:84
|
333 |
msgid "Choose your filtering options"
|
334 |
msgstr ""
|
342 |
#: include/class-bulk-delete-posts.php:348
|
343 |
#: include/class-bulk-delete-posts.php:528
|
344 |
#: include/class-bulk-delete-posts.php:667
|
345 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:177
|
346 |
#: tmp_addon/bulk-delete-by-title.php:93
|
347 |
msgid "Only restrict to posts which are "
|
348 |
msgstr ""
|
353 |
#: include/class-bulk-delete-posts.php:530
|
354 |
#: include/class-bulk-delete-posts.php:669
|
355 |
#: include/class-bulk-delete-posts.php:796
|
356 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:179
|
357 |
#: tmp_addon/bulk-delete-by-title.php:95
|
358 |
msgid "older than"
|
359 |
msgstr ""
|
364 |
#: include/class-bulk-delete-posts.php:531
|
365 |
#: include/class-bulk-delete-posts.php:670
|
366 |
#: include/class-bulk-delete-posts.php:797
|
367 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:180
|
368 |
#: tmp_addon/bulk-delete-by-title.php:96
|
369 |
msgid "posted within last"
|
370 |
msgstr ""
|
376 |
#: include/class-bulk-delete-posts.php:672
|
377 |
#: include/class-bulk-delete-posts.php:799
|
378 |
#: include/class-bulk-delete-users.php:59
|
379 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:182
|
380 |
#: tmp_addon/bulk-delete-by-title.php:98
|
381 |
msgid "days"
|
382 |
msgstr ""
|
388 |
#: include/class-bulk-delete-posts.php:678
|
389 |
#: include/class-bulk-delete-posts.php:805
|
390 |
#: include/class-bulk-delete-posts.php:880
|
391 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:188
|
392 |
#: tmp_addon/bulk-delete-by-title.php:104
|
393 |
msgid "Move to Trash"
|
394 |
msgstr ""
|
400 |
#: include/class-bulk-delete-posts.php:679
|
401 |
#: include/class-bulk-delete-posts.php:806
|
402 |
#: include/class-bulk-delete-posts.php:881
|
403 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:189
|
404 |
#: tmp_addon/bulk-delete-by-title.php:105
|
405 |
msgid "Delete permanently"
|
406 |
msgstr ""
|
411 |
#: include/class-bulk-delete-posts.php:556
|
412 |
#: include/class-bulk-delete-posts.php:688
|
413 |
#: include/class-bulk-delete-posts.php:813
|
414 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:205
|
415 |
#: tmp_addon/bulk-delete-by-title.php:121
|
416 |
msgid "Only delete first "
|
417 |
msgstr ""
|
422 |
#: include/class-bulk-delete-posts.php:557
|
423 |
#: include/class-bulk-delete-posts.php:689
|
424 |
#: include/class-bulk-delete-posts.php:814
|
425 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:206
|
426 |
#: tmp_addon/bulk-delete-by-title.php:122
|
427 |
msgid "posts."
|
428 |
msgstr ""
|
433 |
#: include/class-bulk-delete-posts.php:558
|
434 |
#: include/class-bulk-delete-posts.php:690
|
435 |
#: include/class-bulk-delete-posts.php:815
|
436 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:207
|
437 |
#: tmp_addon/bulk-delete-by-title.php:123
|
438 |
msgid ""
|
439 |
"Use this option if there are more than 1000 posts and the script timesout."
|
446 |
#: include/class-bulk-delete-posts.php:696
|
447 |
#: include/class-bulk-delete-posts.php:821
|
448 |
#: include/class-bulk-delete-users.php:83
|
449 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:213
|
450 |
#: tmp_addon/bulk-delete-by-title.php:129
|
451 |
msgid "Delete now"
|
452 |
msgstr ""
|
459 |
#: include/class-bulk-delete-posts.php:822
|
460 |
#: include/class-bulk-delete-users.php:84
|
461 |
#: include/class-cron-list-table.php:124
|
462 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:214
|
463 |
#: tmp_addon/bulk-delete-by-title.php:130
|
464 |
msgid "Schedule"
|
465 |
msgstr ""
|
471 |
#: include/class-bulk-delete-posts.php:698
|
472 |
#: include/class-bulk-delete-posts.php:823
|
473 |
#: include/class-bulk-delete-users.php:85
|
474 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:215
|
475 |
#: tmp_addon/bulk-delete-by-title.php:131
|
476 |
msgid "repeat "
|
477 |
msgstr ""
|
483 |
#: include/class-bulk-delete-posts.php:700
|
484 |
#: include/class-bulk-delete-posts.php:825
|
485 |
#: include/class-bulk-delete-users.php:87
|
486 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:217
|
487 |
#: tmp_addon/bulk-delete-by-title.php:133
|
488 |
msgid "Don't repeat"
|
489 |
msgstr ""
|
495 |
#: include/class-bulk-delete-posts.php:710
|
496 |
#: include/class-bulk-delete-posts.php:835
|
497 |
#: include/class-bulk-delete-users.php:97
|
498 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:227
|
499 |
#: tmp_addon/bulk-delete-by-title.php:143
|
500 |
msgid "Only available in Pro Addon"
|
501 |
msgstr ""
|
509 |
#: include/class-bulk-delete-posts.php:889
|
510 |
#: include/class-bulk-delete-posts.php:925
|
511 |
#: include/class-bulk-delete-users.php:111
|
512 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:241
|
513 |
#: tmp_addon/bulk-delete-by-title.php:157
|
514 |
msgid "Bulk Delete "
|
515 |
msgstr ""
|
535 |
#: include/class-bulk-delete-posts.php:244
|
536 |
#: include/class-bulk-delete-posts.php:366
|
537 |
#: include/class-bulk-delete-posts.php:546
|
538 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:195
|
539 |
#: tmp_addon/bulk-delete-by-title.php:111
|
540 |
msgid "Public posts"
|
541 |
msgstr ""
|
543 |
#: include/class-bulk-delete-posts.php:245
|
544 |
#: include/class-bulk-delete-posts.php:367
|
545 |
#: include/class-bulk-delete-posts.php:547
|
546 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:196
|
547 |
#: tmp_addon/bulk-delete-by-title.php:112
|
548 |
msgid "Private Posts"
|
549 |
msgstr ""
|
550 |
|
551 |
#: include/class-bulk-delete-posts.php:282
|
552 |
#: include/class-bulk-delete-users.php:103
|
553 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:233
|
554 |
#: tmp_addon/bulk-delete-by-title.php:149
|
555 |
msgid "Enter time in Y-m-d H:i:s format or enter now to use current time"
|
556 |
msgstr ""
|
853 |
msgid "You have not scheduled any bulk delete jobs."
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:112
|
857 |
+
msgid "Select the post type whose posts you want to delete"
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:130
|
861 |
msgid "Choose your custom field settings"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:134
|
865 |
msgid "Key "
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:137
|
869 |
+
msgid "equal to (string)"
|
|
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:138
|
873 |
+
msgid "not equal to (string)"
|
874 |
+
msgstr ""
|
875 |
+
|
876 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:139
|
877 |
+
msgid "equal to (date)"
|
878 |
+
msgstr ""
|
879 |
+
|
880 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:140
|
881 |
+
msgid "not equal to (date)"
|
882 |
+
msgstr ""
|
883 |
+
|
884 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:141
|
885 |
+
msgid "less than (date)"
|
886 |
+
msgstr ""
|
887 |
+
|
888 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:142
|
889 |
+
msgid "greater than (date)"
|
890 |
+
msgstr ""
|
891 |
+
|
892 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:143
|
893 |
+
msgid "less than (number)"
|
894 |
+
msgstr ""
|
895 |
+
|
896 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:144
|
897 |
+
msgid "greater than (number)"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:146
|
901 |
msgid "Value "
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:153
|
905 |
+
msgid "Enter the Date Format "
|
906 |
+
msgstr ""
|
907 |
+
|
908 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:155
|
909 |
+
msgid "Possible Values"
|
910 |
+
msgstr ""
|
911 |
+
|
912 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:156
|
913 |
+
msgid "If you leave date format blank, then \"YYYYMMDD\", will be assumed"
|
914 |
+
msgstr ""
|
915 |
+
|
916 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:162
|
917 |
msgid "If you want to check for null values, then leave the value column blank"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:285
|
921 |
+
msgid ""
|
922 |
+
"Posts matching the selected custom field setting are scheduled for deletion."
|
923 |
+
msgstr ""
|
924 |
+
|
925 |
+
#: tmp_addon/bulk-delete-by-custom-field.php:290
|
926 |
+
msgid "Deleted %d post using the selected custom field condition"
|
927 |
+
msgid_plural "Deleted %d posts using the selected custom field condition"
|
928 |
+
msgstr[0] ""
|
929 |
+
msgstr[1] ""
|
930 |
+
|
931 |
#: tmp_addon/bulk-delete-by-title.php:63
|
932 |
msgid "Choose your title settings"
|
933 |
msgstr ""
|
936 |
msgid "Title"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: tmp_addon/bulk-delete-by-title.php:71
|
940 |
+
msgid "equal to"
|
941 |
+
msgstr ""
|
942 |
+
|
943 |
+
#: tmp_addon/bulk-delete-by-title.php:72
|
944 |
+
msgid "not equal to"
|
945 |
+
msgstr ""
|
946 |
+
|
947 |
#: tmp_addon/bulk-delete-by-title.php:73
|
948 |
msgid "contains"
|
949 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Bulk Delete ===
|
2 |
Contributors: sudar
|
3 |
Tags: post, comment, delete, bulk, mass, draft, revision, page
|
4 |
-
Requires at least: 3.
|
5 |
Tested up to: 3.8
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
-
Stable tag: 4.4.
|
8 |
|
9 |
Bulk delete users based on user role and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
|
10 |
|
@@ -226,6 +226,11 @@ The ability to schedule deletion of posts is available as a pro addon.
|
|
226 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|
227 |
== Changelog ==
|
228 |
|
|
|
|
|
|
|
|
|
|
|
229 |
= 2013-12-18 - v4.4.1 - (Dev time: 0.5 hours) =
|
230 |
- Fix: Bulk Delete menu overrides other menus at the same position
|
231 |
|
1 |
=== Bulk Delete ===
|
2 |
Contributors: sudar
|
3 |
Tags: post, comment, delete, bulk, mass, draft, revision, page
|
4 |
+
Requires at least: 3.8
|
5 |
Tested up to: 3.8
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
+
Stable tag: 4.4.2
|
8 |
|
9 |
Bulk delete users based on user role and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
|
10 |
|
226 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|
227 |
== Changelog ==
|
228 |
|
229 |
+
= 2014-01-05 - v4.4.2 - (Dev time: 1.5 hours) =
|
230 |
+
- Fix: Deleting first x posts deletes all posts while deleting by category (#44)
|
231 |
+
- Fix: Posts are moved to trash even if "Delete permanently" option is selected (#45)
|
232 |
+
- Tweak: Move request processing code for deleting by custom field to addon
|
233 |
+
|
234 |
= 2013-12-18 - v4.4.1 - (Dev time: 0.5 hours) =
|
235 |
- Fix: Bulk Delete menu overrides other menus at the same position
|
236 |
|