Version Description
Fix: Prevent Bulk Delete from overriding other menus
Download this release
Release Info
Developer | sudar |
Plugin | Bulk Delete |
Version | 4.4.1 |
Comparing to | |
See all releases |
Code changes from version 4.4 to 4.4.1
- bulk-delete.php +3 -3
- languages/bulk-delete.pot +51 -22
- readme.txt +7 -1
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';
|
@@ -113,7 +113,7 @@ class Bulk_Delete {
|
|
113 |
* Add navigation menu
|
114 |
*/
|
115 |
function add_menu() {
|
116 |
-
add_menu_page( __( 'Bulk Delete', 'bulk-delete' ) , __( 'Bulk Delete', 'bulk-delete' ), 'manage_options', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ), 'dashicons-trash', 26 );
|
117 |
|
118 |
$this->admin_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Posts', 'bulk-delete' ), __( 'Bulk Delete Posts', 'bulk-delete' ), 'delete_posts', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ) );
|
119 |
$this->users_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Users', 'bulk-delete' ), __( 'Bulk Delete Users', 'bulk-delete' ), 'delete_users', self::USERS_PAGE_SLUG, array( &$this, 'display_users_page' ) );
|
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.1
|
9 |
License: GPL
|
10 |
Author: Sudar
|
11 |
Author URI: http://sudarmuthu.com/
|
53 |
*/
|
54 |
class Bulk_Delete {
|
55 |
|
56 |
+
const VERSION = '4.4.1';
|
57 |
|
58 |
// page slugs
|
59 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
113 |
* Add navigation menu
|
114 |
*/
|
115 |
function add_menu() {
|
116 |
+
add_menu_page( __( 'Bulk Delete', 'bulk-delete' ) , __( 'Bulk Delete', 'bulk-delete' ), 'manage_options', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ), 'dashicons-trash', '26.9966' );
|
117 |
|
118 |
$this->admin_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Posts', 'bulk-delete' ), __( 'Bulk Delete Posts', 'bulk-delete' ), 'delete_posts', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ) );
|
119 |
$this->users_page = add_submenu_page( self::POSTS_PAGE_SLUG, __( 'Bulk Delete Users', 'bulk-delete' ), __( 'Bulk Delete Users', 'bulk-delete' ), 'delete_users', self::USERS_PAGE_SLUG, array( &$this, 'display_users_page' ) );
|
languages/bulk-delete.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Bulk Delete package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Bulk Delete 4.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
-
"POT-Creation-Date: 2013-12-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,6 +12,8 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
|
|
|
|
15 |
#: bulk-delete.php:116
|
16 |
msgid "Bulk Delete"
|
17 |
msgstr ""
|
@@ -33,7 +35,10 @@ msgid "About Plugin"
|
|
33 |
msgstr ""
|
34 |
|
35 |
#: bulk-delete.php:152 bulk-delete.php:208
|
36 |
-
msgid "
|
|
|
|
|
|
|
37 |
msgstr ""
|
38 |
|
39 |
#: bulk-delete.php:159 bulk-delete.php:215
|
@@ -245,7 +250,8 @@ msgstr[0] ""
|
|
245 |
msgstr[1] ""
|
246 |
|
247 |
#: bulk-delete.php:751
|
248 |
-
msgid "
|
|
|
249 |
msgstr ""
|
250 |
|
251 |
#: bulk-delete.php:755
|
@@ -275,7 +281,9 @@ msgstr[1] ""
|
|
275 |
#: include/class-bulk-delete-posts.php:937
|
276 |
#: include/class-bulk-delete-posts.php:967
|
277 |
#: include/class-bulk-delete-users.php:16
|
278 |
-
msgid "
|
|
|
|
|
279 |
msgstr ""
|
280 |
|
281 |
#: include/class-bulk-delete-posts.php:29
|
@@ -437,7 +445,8 @@ msgstr ""
|
|
437 |
#: include/class-bulk-delete-posts.php:815
|
438 |
#: tmp_addon/bulk-delete-by-custom-field.php:119
|
439 |
#: tmp_addon/bulk-delete-by-title.php:123
|
440 |
-
msgid "
|
|
|
441 |
msgstr ""
|
442 |
|
443 |
#: include/class-bulk-delete-posts.php:117
|
@@ -458,7 +467,8 @@ msgstr ""
|
|
458 |
#: include/class-bulk-delete-posts.php:565
|
459 |
#: include/class-bulk-delete-posts.php:697
|
460 |
#: include/class-bulk-delete-posts.php:822
|
461 |
-
#: include/class-bulk-delete-users.php:84
|
|
|
462 |
#: tmp_addon/bulk-delete-by-custom-field.php:126
|
463 |
#: tmp_addon/bulk-delete-by-title.php:130
|
464 |
msgid "Schedule"
|
@@ -523,7 +533,9 @@ msgid "Select the categories whose post you want to delete"
|
|
523 |
msgstr ""
|
524 |
|
525 |
#: include/class-bulk-delete-posts.php:182
|
526 |
-
msgid "
|
|
|
|
|
527 |
msgstr ""
|
528 |
|
529 |
#: include/class-bulk-delete-posts.php:209
|
@@ -574,11 +586,15 @@ msgid "Select the taxonomies whose post you want to delete"
|
|
574 |
msgstr ""
|
575 |
|
576 |
#: include/class-bulk-delete-posts.php:492
|
577 |
-
msgid "
|
|
|
|
|
578 |
msgstr ""
|
579 |
|
580 |
#: include/class-bulk-delete-posts.php:493
|
581 |
-
msgid "
|
|
|
|
|
582 |
msgstr ""
|
583 |
|
584 |
#: include/class-bulk-delete-posts.php:591
|
@@ -646,7 +662,9 @@ msgid "Revisions"
|
|
646 |
msgstr ""
|
647 |
|
648 |
#: include/class-bulk-delete-posts.php:946
|
649 |
-
msgid "
|
|
|
|
|
650 |
msgstr ""
|
651 |
|
652 |
#: include/class-bulk-delete-posts.php:976
|
@@ -654,7 +672,8 @@ msgid "You need \"Bulk Delete by Title\" Addon, to delete post by title."
|
|
654 |
msgstr ""
|
655 |
|
656 |
#: include/class-bulk-delete-posts.php:994
|
657 |
-
msgid "
|
|
|
658 |
msgstr ""
|
659 |
|
660 |
#: include/class-bulk-delete-posts.php:994
|
@@ -711,7 +730,9 @@ msgid "M j, Y @ G:i"
|
|
711 |
msgstr ""
|
712 |
|
713 |
#: include/class-cron-list-table.php:31
|
714 |
-
msgid "
|
|
|
|
|
715 |
msgstr ""
|
716 |
|
717 |
#: include/class-cron-list-table.php:39
|
@@ -719,11 +740,15 @@ msgid "Note: "
|
|
719 |
msgstr ""
|
720 |
|
721 |
#: include/class-cron-list-table.php:41
|
722 |
-
msgid "
|
|
|
|
|
723 |
msgstr ""
|
724 |
|
725 |
#: include/class-cron-list-table.php:45
|
726 |
-
msgid "
|
|
|
|
|
727 |
msgstr ""
|
728 |
|
729 |
#: include/class-cron-list-table.php:51
|
@@ -779,7 +804,8 @@ msgid "Schedule auto delete of posts by Custom Taxonomy"
|
|
779 |
msgstr ""
|
780 |
|
781 |
#: include/class-cron-list-table.php:80
|
782 |
-
msgid "
|
|
|
783 |
msgstr ""
|
784 |
|
785 |
#: include/class-cron-list-table.php:86
|
@@ -787,7 +813,8 @@ msgid "Schedule auto delete of Posts by Custom Post Type"
|
|
787 |
msgstr ""
|
788 |
|
789 |
#: include/class-cron-list-table.php:87
|
790 |
-
msgid "
|
|
|
791 |
msgstr ""
|
792 |
|
793 |
#: include/class-cron-list-table.php:93
|
@@ -803,7 +830,9 @@ msgid "Schedule auto delete of Posts by Post Status"
|
|
803 |
msgstr ""
|
804 |
|
805 |
#: include/class-cron-list-table.php:101
|
806 |
-
msgid "
|
|
|
|
|
807 |
msgstr ""
|
808 |
|
809 |
#: include/class-cron-list-table.php:107
|
@@ -883,16 +912,16 @@ msgstr ""
|
|
883 |
#: tmp_addon/bulk-delete-by-title.php:76
|
884 |
msgid "ends with"
|
885 |
msgstr ""
|
886 |
-
#. Plugin Name of the plugin/theme
|
887 |
-
msgid "Bulk Delete"
|
888 |
-
msgstr ""
|
889 |
|
890 |
#. Plugin URI of the plugin/theme
|
891 |
msgid "http://sudarmuthu.com/wordpress/bulk-delete"
|
892 |
msgstr ""
|
893 |
|
894 |
#. Description of the plugin/theme
|
895 |
-
msgid "
|
|
|
|
|
|
|
896 |
msgstr ""
|
897 |
|
898 |
#. Author of the plugin/theme
|
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.1\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
+
"POT-Creation-Date: 2013-12-18 13:47:11+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 4.4.1) #-#-#-#-#
|
16 |
+
#. Plugin Name of the plugin/theme
|
17 |
#: bulk-delete.php:116
|
18 |
msgid "Bulk Delete"
|
19 |
msgstr ""
|
35 |
msgstr ""
|
36 |
|
37 |
#: bulk-delete.php:152 bulk-delete.php:208
|
38 |
+
msgid ""
|
39 |
+
"This plugin allows you to delete posts in bulk from selected categories, "
|
40 |
+
"tags, custom taxonomies or by post status like drafts, pending posts, "
|
41 |
+
"scheduled posts etc."
|
42 |
msgstr ""
|
43 |
|
44 |
#: bulk-delete.php:159 bulk-delete.php:215
|
250 |
msgstr[1] ""
|
251 |
|
252 |
#: bulk-delete.php:751
|
253 |
+
msgid ""
|
254 |
+
"Posts matching the selected custom field setting are scheduled for deletion."
|
255 |
msgstr ""
|
256 |
|
257 |
#: bulk-delete.php:755
|
281 |
#: include/class-bulk-delete-posts.php:937
|
282 |
#: include/class-bulk-delete-posts.php:967
|
283 |
#: include/class-bulk-delete-users.php:16
|
284 |
+
msgid ""
|
285 |
+
"This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the "
|
286 |
+
"page to fully enable it."
|
287 |
msgstr ""
|
288 |
|
289 |
#: include/class-bulk-delete-posts.php:29
|
445 |
#: include/class-bulk-delete-posts.php:815
|
446 |
#: tmp_addon/bulk-delete-by-custom-field.php:119
|
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."
|
450 |
msgstr ""
|
451 |
|
452 |
#: include/class-bulk-delete-posts.php:117
|
467 |
#: include/class-bulk-delete-posts.php:565
|
468 |
#: include/class-bulk-delete-posts.php:697
|
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:126
|
473 |
#: tmp_addon/bulk-delete-by-title.php:130
|
474 |
msgid "Schedule"
|
533 |
msgstr ""
|
534 |
|
535 |
#: include/class-bulk-delete-posts.php:182
|
536 |
+
msgid ""
|
537 |
+
"Note: The post count below for each category is the total number of posts in "
|
538 |
+
"that category, irrespective of post type"
|
539 |
msgstr ""
|
540 |
|
541 |
#: include/class-bulk-delete-posts.php:209
|
586 |
msgstr ""
|
587 |
|
588 |
#: include/class-bulk-delete-posts.php:492
|
589 |
+
msgid ""
|
590 |
+
"The selected taxonomy has the following terms. Select the terms whose post "
|
591 |
+
"you want to delete"
|
592 |
msgstr ""
|
593 |
|
594 |
#: include/class-bulk-delete-posts.php:493
|
595 |
+
msgid ""
|
596 |
+
"Note: The post count below for each term is the total number of posts in "
|
597 |
+
"that term, irrespective of post type"
|
598 |
msgstr ""
|
599 |
|
600 |
#: include/class-bulk-delete-posts.php:591
|
662 |
msgstr ""
|
663 |
|
664 |
#: include/class-bulk-delete-posts.php:946
|
665 |
+
msgid ""
|
666 |
+
"You need \"Bulk Delete by Custom Field\" Addon, to delete post by custom "
|
667 |
+
"field."
|
668 |
msgstr ""
|
669 |
|
670 |
#: include/class-bulk-delete-posts.php:976
|
672 |
msgstr ""
|
673 |
|
674 |
#: include/class-bulk-delete-posts.php:994
|
675 |
+
msgid ""
|
676 |
+
"If you are seeing a blank page after clicking the Bulk Delete button, then "
|
677 |
msgstr ""
|
678 |
|
679 |
#: include/class-bulk-delete-posts.php:994
|
730 |
msgstr ""
|
731 |
|
732 |
#: include/class-cron-list-table.php:31
|
733 |
+
msgid ""
|
734 |
+
"This is the list of jobs that are currently scheduled for auto deleting "
|
735 |
+
"posts in Bulk Delete Plugin."
|
736 |
msgstr ""
|
737 |
|
738 |
#: include/class-cron-list-table.php:39
|
740 |
msgstr ""
|
741 |
|
742 |
#: include/class-cron-list-table.php:41
|
743 |
+
msgid ""
|
744 |
+
"Scheduling auto post or user deletion is available only when you buy pro "
|
745 |
+
"addons."
|
746 |
msgstr ""
|
747 |
|
748 |
#: include/class-cron-list-table.php:45
|
749 |
+
msgid ""
|
750 |
+
"The following are the list of pro addons that are currently available for "
|
751 |
+
"purchase."
|
752 |
msgstr ""
|
753 |
|
754 |
#: include/class-cron-list-table.php:51
|
804 |
msgstr ""
|
805 |
|
806 |
#: include/class-cron-list-table.php:80
|
807 |
+
msgid ""
|
808 |
+
"Adds the ability to schedule auto delete of posts based on custom taxonomies"
|
809 |
msgstr ""
|
810 |
|
811 |
#: include/class-cron-list-table.php:86
|
813 |
msgstr ""
|
814 |
|
815 |
#: include/class-cron-list-table.php:87
|
816 |
+
msgid ""
|
817 |
+
"Adds the ability to schedule auto delete of posts based on custom post types"
|
818 |
msgstr ""
|
819 |
|
820 |
#: include/class-cron-list-table.php:93
|
830 |
msgstr ""
|
831 |
|
832 |
#: include/class-cron-list-table.php:101
|
833 |
+
msgid ""
|
834 |
+
"Adds the ability to schedule auto delete of posts based on post status like "
|
835 |
+
"drafts, pending posts, scheduled posts etc."
|
836 |
msgstr ""
|
837 |
|
838 |
#: include/class-cron-list-table.php:107
|
912 |
#: tmp_addon/bulk-delete-by-title.php:76
|
913 |
msgid "ends with"
|
914 |
msgstr ""
|
|
|
|
|
|
|
915 |
|
916 |
#. Plugin URI of the plugin/theme
|
917 |
msgid "http://sudarmuthu.com/wordpress/bulk-delete"
|
918 |
msgstr ""
|
919 |
|
920 |
#. Description of the plugin/theme
|
921 |
+
msgid ""
|
922 |
+
"Bulk delete users and posts from selected categories, tags, post types, "
|
923 |
+
"custom taxonomies or by post status like drafts, scheduled posts, revisions "
|
924 |
+
"etc."
|
925 |
msgstr ""
|
926 |
|
927 |
#. Author of the plugin/theme
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: post, comment, delete, bulk, mass, draft, revision, page
|
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.8
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
-
Stable tag: 4.4
|
8 |
|
9 |
Bulk delete users based on user role and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc.
|
10 |
|
@@ -226,6 +226,9 @@ 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-14 - v4.4 - (Dev time: 10 hours) =
|
230 |
- New: Ability to delete all published posts from "Post Status" module
|
231 |
- New: Ability to delete all sticky posts from "Post Status" module
|
@@ -382,6 +385,9 @@ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/
|
|
382 |
|
383 |
== Upgrade Notice ==
|
384 |
|
|
|
|
|
|
|
385 |
= 4.2.2 =
|
386 |
Fix: Bug in deleting custom post types with hypen
|
387 |
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.8
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
+
Stable tag: 4.4.1
|
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 |
+
= 2013-12-18 - v4.4.1 - (Dev time: 0.5 hours) =
|
230 |
+
- Fix: Bulk Delete menu overrides other menus at the same position
|
231 |
+
|
232 |
= 2013-12-14 - v4.4 - (Dev time: 10 hours) =
|
233 |
- New: Ability to delete all published posts from "Post Status" module
|
234 |
- New: Ability to delete all sticky posts from "Post Status" module
|
385 |
|
386 |
== Upgrade Notice ==
|
387 |
|
388 |
+
= 4.4.1 =
|
389 |
+
Fix: Prevent Bulk Delete from overriding other menus
|
390 |
+
|
391 |
= 4.2.2 =
|
392 |
Fix: Bug in deleting custom post types with hypen
|
393 |
|