Version Description
Added compatibility for PHP version 5.2.4
Download this release
Release Info
Developer | sudar |
Plugin | Bulk Delete |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.2
- bulk-delete.php +3 -3
- include/class-bd-license-handler.php +1 -1
- include/class-bd-license.php +10 -10
- include/class-bulk-delete-pages.php +2 -2
- include/class-bulk-delete-posts.php +13 -13
- include/class-bulk-delete-system-info.php +1 -1
- include/class-bulk-delete-users.php +1 -1
- languages/bulk-delete.pot +3 -3
- readme.txt +28 -22
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.0.
|
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.0.
|
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.0.
|
60 |
|
61 |
// page slugs
|
62 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
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.0.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.0.2
|
40 |
*/
|
41 |
|
42 |
// Exit if accessed directly
|
56 |
*/
|
57 |
private static $instance;
|
58 |
|
59 |
+
const VERSION = '5.0.2';
|
60 |
|
61 |
// page slugs
|
62 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
include/class-bd-license-handler.php
CHANGED
@@ -84,7 +84,7 @@ class BD_License_Handler {
|
|
84 |
$bd = BULK_DELETE();
|
85 |
|
86 |
if( ! class_exists( 'EDD_SL_Plugin_Updater' ) ) {
|
87 |
-
require_once
|
88 |
}
|
89 |
|
90 |
$this->updater = new EDD_SL_Plugin_Updater( BD_EDD_API_Wrapper::STORE_URL, $this->plugin_file, array(
|
84 |
$bd = BULK_DELETE();
|
85 |
|
86 |
if( ! class_exists( 'EDD_SL_Plugin_Updater' ) ) {
|
87 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/libraries/EDD_SL_Plugin_Updater.php';
|
88 |
}
|
89 |
|
90 |
$this->updater = new EDD_SL_Plugin_Updater( BD_EDD_API_Wrapper::STORE_URL, $this->plugin_file, array(
|
include/class-bd-license.php
CHANGED
@@ -367,61 +367,61 @@ class BD_License {
|
|
367 |
echo '<li>';
|
368 |
echo '<strong>', __('Delete posts by custom field', 'bulk-delete'), '</strong>', ' - ';
|
369 |
echo __('Adds the ability to delete posts based on custom fields', 'bulk-delete');
|
370 |
-
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-custom-field
|
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' );
|
376 |
-
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title
|
377 |
echo '</li>';
|
378 |
|
379 |
echo '<li>';
|
380 |
echo '<strong>', __( 'Delete posts by title', 'bulk-delete' ), '</strong>', ' - ';
|
381 |
echo __( 'Adds the ability to delete posts based on title', 'bulk-delete' );
|
382 |
-
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title
|
383 |
echo '</li>';
|
384 |
|
385 |
echo '<li>';
|
386 |
echo '<strong>', __('Scheduler for deleting Posts by Category', 'bulk-delete'), '</strong>', ' - ';
|
387 |
echo __('Adds the ability to schedule auto delete of posts based on category', 'bulk-delete');
|
388 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category
|
389 |
echo '</li>';
|
390 |
|
391 |
echo '<li>';
|
392 |
echo '<strong>', __('Scheduler for deleting Posts by Tag', 'bulk-delete'), '</strong>', ' - ';
|
393 |
echo __('Adds the ability to schedule auto delete of posts based on tag', 'bulk-delete');
|
394 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag
|
395 |
echo '</li>';
|
396 |
|
397 |
echo '<li>';
|
398 |
echo '<strong>', __('Scheduler for deleting Posts by Custom Taxonomy', 'bulk-delete'), '</strong>', ' - ';
|
399 |
echo __('Adds the ability to schedule auto delete of posts based on custom taxonomy', 'bulk-delete');
|
400 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy
|
401 |
echo '</li>';
|
402 |
|
403 |
echo '<li>';
|
404 |
echo '<strong>', __('Scheduler for deleting Posts by Custom Post Type', 'bulk-delete'), '</strong>', ' - ';
|
405 |
echo __('Adds the ability to schedule auto delete of posts based on custom post type', 'bulk-delete');
|
406 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-post-type
|
407 |
echo '</li>';
|
408 |
|
409 |
echo '<li>';
|
410 |
echo '<strong>', __('Scheduler for deleting Posts by Post Status', 'bulk-delete'), '</strong>', ' - ';
|
411 |
echo __('Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete');
|
412 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-status
|
413 |
echo '</li>';
|
414 |
|
415 |
echo '<li>';
|
416 |
echo '<strong>', __('Scheduler for deleting Pages by Status', 'bulk-delete'), '</strong>', ' - ';
|
417 |
echo __('Adds the ability to schedule auto delete pages based on status', 'bulk-delete');
|
418 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status
|
419 |
echo '</li>';
|
420 |
|
421 |
echo '<li>';
|
422 |
echo '<strong>', __('Scheduler for deleting Users by User Role', 'bulk-delete'), '</strong>', ' - ';
|
423 |
echo __('Adds the ability to schedule auto delete of users based on user role', 'bulk-delete');
|
424 |
-
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-users-by-role
|
425 |
echo '</li>';
|
426 |
|
427 |
echo '</ul>';
|
367 |
echo '<li>';
|
368 |
echo '<strong>', __('Delete posts by custom field', 'bulk-delete'), '</strong>', ' - ';
|
369 |
echo __('Adds the ability to delete posts based on custom fields', 'bulk-delete');
|
370 |
+
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>.';
|
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' );
|
376 |
+
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
|
377 |
echo '</li>';
|
378 |
|
379 |
echo '<li>';
|
380 |
echo '<strong>', __( 'Delete posts by title', 'bulk-delete' ), '</strong>', ' - ';
|
381 |
echo __( 'Adds the ability to delete posts based on title', 'bulk-delete' );
|
382 |
+
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>.';
|
383 |
echo '</li>';
|
384 |
|
385 |
echo '<li>';
|
386 |
echo '<strong>', __('Scheduler for deleting Posts by Category', 'bulk-delete'), '</strong>', ' - ';
|
387 |
echo __('Adds the ability to schedule auto delete of posts based on category', 'bulk-delete');
|
388 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
389 |
echo '</li>';
|
390 |
|
391 |
echo '<li>';
|
392 |
echo '<strong>', __('Scheduler for deleting Posts by Tag', 'bulk-delete'), '</strong>', ' - ';
|
393 |
echo __('Adds the ability to schedule auto delete of posts based on tag', 'bulk-delete');
|
394 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
395 |
echo '</li>';
|
396 |
|
397 |
echo '<li>';
|
398 |
echo '<strong>', __('Scheduler for deleting Posts by Custom Taxonomy', 'bulk-delete'), '</strong>', ' - ';
|
399 |
echo __('Adds the ability to schedule auto delete of posts based on custom taxonomy', 'bulk-delete');
|
400 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
401 |
echo '</li>';
|
402 |
|
403 |
echo '<li>';
|
404 |
echo '<strong>', __('Scheduler for deleting Posts by Custom Post Type', 'bulk-delete'), '</strong>', ' - ';
|
405 |
echo __('Adds the ability to schedule auto delete of posts based on custom post type', 'bulk-delete');
|
406 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-post-type/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
407 |
echo '</li>';
|
408 |
|
409 |
echo '<li>';
|
410 |
echo '<strong>', __('Scheduler for deleting Posts by Post Status', 'bulk-delete'), '</strong>', ' - ';
|
411 |
echo __('Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc.', 'bulk-delete');
|
412 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-status/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
413 |
echo '</li>';
|
414 |
|
415 |
echo '<li>';
|
416 |
echo '<strong>', __('Scheduler for deleting Pages by Status', 'bulk-delete'), '</strong>', ' - ';
|
417 |
echo __('Adds the ability to schedule auto delete pages based on status', 'bulk-delete');
|
418 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
419 |
echo '</li>';
|
420 |
|
421 |
echo '<li>';
|
422 |
echo '<strong>', __('Scheduler for deleting Users by User Role', 'bulk-delete'), '</strong>', ' - ';
|
423 |
echo __('Adds the ability to schedule auto delete of users based on user role', 'bulk-delete');
|
424 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-for-deleting-users-by-role/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __('More Info', 'bulk-delete'), '</a>.';
|
425 |
echo '</li>';
|
426 |
|
427 |
echo '</ul>';
|
include/class-bulk-delete-pages.php
CHANGED
@@ -120,7 +120,7 @@ class Bulk_Delete_Pages {
|
|
120 |
}
|
121 |
?>
|
122 |
</select>
|
123 |
-
<span class = "bd-pages-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status
|
124 |
</td>
|
125 |
</tr>
|
126 |
</table>
|
@@ -238,7 +238,7 @@ class Bulk_Delete_Pages {
|
|
238 |
$options['days'] = $delete_options['page_days'];
|
239 |
|
240 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
241 |
-
require_once
|
242 |
}
|
243 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
244 |
}
|
120 |
}
|
121 |
?>
|
122 |
</select>
|
123 |
+
<span class = "bd-pages-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
124 |
</td>
|
125 |
</tr>
|
126 |
</table>
|
238 |
$options['days'] = $delete_options['page_days'];
|
239 |
|
240 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
241 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
242 |
}
|
243 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
244 |
}
|
include/class-bulk-delete-posts.php
CHANGED
@@ -129,7 +129,7 @@ class Bulk_Delete_Posts {
|
|
129 |
}
|
130 |
?>
|
131 |
</select>
|
132 |
-
<span class = "bd-post-status-pro" style = "color:red"><?php _e( 'Only available in Pro Addon', 'bulk-delete' ); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-status
|
133 |
</td>
|
134 |
</tr>
|
135 |
</table>
|
@@ -275,7 +275,7 @@ class Bulk_Delete_Posts {
|
|
275 |
$options['days'] = $delete_options['post_status_days'];
|
276 |
|
277 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
278 |
-
require_once
|
279 |
}
|
280 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
281 |
}
|
@@ -425,7 +425,7 @@ class Bulk_Delete_Posts {
|
|
425 |
}
|
426 |
?>
|
427 |
</select>
|
428 |
-
<span class = "bd-cats-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category
|
429 |
</td>
|
430 |
</tr>
|
431 |
|
@@ -537,7 +537,7 @@ class Bulk_Delete_Posts {
|
|
537 |
|
538 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
539 |
$bd = BULK_DELETE();
|
540 |
-
require_once
|
541 |
}
|
542 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
543 |
}
|
@@ -659,7 +659,7 @@ class Bulk_Delete_Posts {
|
|
659 |
}
|
660 |
?>
|
661 |
</select>
|
662 |
-
<span class = "bd-tags-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag
|
663 |
</td>
|
664 |
</tr>
|
665 |
|
@@ -760,7 +760,7 @@ class Bulk_Delete_Posts {
|
|
760 |
|
761 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
762 |
$bd = BULK_DELETE();
|
763 |
-
require_once
|
764 |
}
|
765 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
766 |
}
|
@@ -936,7 +936,7 @@ class Bulk_Delete_Posts {
|
|
936 |
}
|
937 |
?>
|
938 |
</select>
|
939 |
-
<span class = "bd-taxs-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy
|
940 |
</td>
|
941 |
</tr>
|
942 |
|
@@ -1053,7 +1053,7 @@ class Bulk_Delete_Posts {
|
|
1053 |
|
1054 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
1055 |
$bd = BULK_DELETE();
|
1056 |
-
require_once
|
1057 |
}
|
1058 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1059 |
}
|
@@ -1189,7 +1189,7 @@ class Bulk_Delete_Posts {
|
|
1189 |
}
|
1190 |
?>
|
1191 |
</select>
|
1192 |
-
<span class = "bd-types-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-post-type
|
1193 |
</td>
|
1194 |
</tr>
|
1195 |
|
@@ -1298,7 +1298,7 @@ class Bulk_Delete_Posts {
|
|
1298 |
|
1299 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
1300 |
$bd = BULK_DELETE();
|
1301 |
-
require_once
|
1302 |
}
|
1303 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1304 |
}
|
@@ -1533,7 +1533,7 @@ class Bulk_Delete_Posts {
|
|
1533 |
<p>
|
1534 |
<span class = "bd-post-custom-field-pro" style = "color:red">
|
1535 |
<?php _e( 'You need "Bulk Delete Posts by Custom Field" Addon, to delete post by custom field.', 'bulk-delete' ); ?>
|
1536 |
-
<a href = "http://bulkwp.com/addons/bulk-delete-posts-by-custom-field
|
1537 |
</span>
|
1538 |
</p>
|
1539 |
<!-- Custom Field box end-->
|
@@ -1562,7 +1562,7 @@ class Bulk_Delete_Posts {
|
|
1562 |
<p>
|
1563 |
<span class = "bd-post-title-pro" style = "color:red">
|
1564 |
<?php _e( 'You need "Bulk Delete Posts by Title" Addon, to delete post by title.', 'bulk-delete' ); ?>
|
1565 |
-
<a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title
|
1566 |
</span>
|
1567 |
</p>
|
1568 |
<!-- Title box end-->
|
@@ -1592,7 +1592,7 @@ class Bulk_Delete_Posts {
|
|
1592 |
<p>
|
1593 |
<span class = "bd-post-title-pro" style = "color:red">
|
1594 |
<?php _e( 'You need "Bulk Delete Posts by Duplicate Title" Addon, to delete post by duplicate title.', 'bulk-delete' ); ?>
|
1595 |
-
<a href = "http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title
|
1596 |
</span>
|
1597 |
</p>
|
1598 |
<!-- Duplicate Title box end-->
|
129 |
}
|
130 |
?>
|
131 |
</select>
|
132 |
+
<span class = "bd-post-status-pro" style = "color:red"><?php _e( 'Only available in Pro Addon', 'bulk-delete' ); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-status/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
133 |
</td>
|
134 |
</tr>
|
135 |
</table>
|
275 |
$options['days'] = $delete_options['post_status_days'];
|
276 |
|
277 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
278 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
279 |
}
|
280 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
281 |
}
|
425 |
}
|
426 |
?>
|
427 |
</select>
|
428 |
+
<span class = "bd-cats-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-category/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
429 |
</td>
|
430 |
</tr>
|
431 |
|
537 |
|
538 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
539 |
$bd = BULK_DELETE();
|
540 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
541 |
}
|
542 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
543 |
}
|
659 |
}
|
660 |
?>
|
661 |
</select>
|
662 |
+
<span class = "bd-tags-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-tag/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
663 |
</td>
|
664 |
</tr>
|
665 |
|
760 |
|
761 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
762 |
$bd = BULK_DELETE();
|
763 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
764 |
}
|
765 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
766 |
}
|
936 |
}
|
937 |
?>
|
938 |
</select>
|
939 |
+
<span class = "bd-taxs-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
940 |
</td>
|
941 |
</tr>
|
942 |
|
1053 |
|
1054 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
1055 |
$bd = BULK_DELETE();
|
1056 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
1057 |
}
|
1058 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1059 |
}
|
1189 |
}
|
1190 |
?>
|
1191 |
</select>
|
1192 |
+
<span class = "bd-types-pro" style = "color:red"><?php _e('Only available in Pro Addon', 'bulk-delete'); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-posts-by-post-type/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
1193 |
</td>
|
1194 |
</tr>
|
1195 |
|
1298 |
|
1299 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
1300 |
$bd = BULK_DELETE();
|
1301 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
1302 |
}
|
1303 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1304 |
}
|
1533 |
<p>
|
1534 |
<span class = "bd-post-custom-field-pro" style = "color:red">
|
1535 |
<?php _e( 'You need "Bulk Delete Posts by Custom Field" Addon, to delete post by custom field.', 'bulk-delete' ); ?>
|
1536 |
+
<a href = "http://bulkwp.com/addons/bulk-delete-posts-by-custom-field/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a>
|
1537 |
</span>
|
1538 |
</p>
|
1539 |
<!-- Custom Field box end-->
|
1562 |
<p>
|
1563 |
<span class = "bd-post-title-pro" style = "color:red">
|
1564 |
<?php _e( 'You need "Bulk Delete Posts by Title" Addon, to delete post by title.', 'bulk-delete' ); ?>
|
1565 |
+
<a href = "http://bulkwp.com/addons/bulk-delete-posts-by-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a>
|
1566 |
</span>
|
1567 |
</p>
|
1568 |
<!-- Title box end-->
|
1592 |
<p>
|
1593 |
<span class = "bd-post-title-pro" style = "color:red">
|
1594 |
<?php _e( 'You need "Bulk Delete Posts by Duplicate Title" Addon, to delete post by duplicate title.', 'bulk-delete' ); ?>
|
1595 |
+
<a href = "http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a>
|
1596 |
</span>
|
1597 |
</p>
|
1598 |
<!-- Duplicate Title box end-->
|
include/class-bulk-delete-system-info.php
CHANGED
@@ -36,7 +36,7 @@ class Bulk_Delete_System_Info {
|
|
36 |
$bd = BULK_DELETE();
|
37 |
|
38 |
if ( ! class_exists( 'Browser' ) ) {
|
39 |
-
require_once
|
40 |
}
|
41 |
|
42 |
$browser = new Browser();
|
36 |
$bd = BULK_DELETE();
|
37 |
|
38 |
if ( ! class_exists( 'Browser' ) ) {
|
39 |
+
require_once Bulk_Delete::$PLUGIN_DIR . 'include/libraries/browser.php';
|
40 |
}
|
41 |
|
42 |
$browser = new Browser();
|
include/class-bulk-delete-users.php
CHANGED
@@ -89,7 +89,7 @@ class Bulk_Delete_Users {
|
|
89 |
}
|
90 |
?>
|
91 |
</select>
|
92 |
-
<span class = "bdu-users-by-role-pro" style = "color:red"><?php _e( 'Only available in Pro Addon', 'bulk-delete' ); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-users-by-role
|
93 |
</td>
|
94 |
</tr>
|
95 |
|
89 |
}
|
90 |
?>
|
91 |
</select>
|
92 |
+
<span class = "bdu-users-by-role-pro" style = "color:red"><?php _e( 'Only available in Pro Addon', 'bulk-delete' ); ?> <a href = "http://bulkwp.com/addons/scheduler-for-deleting-users-by-role/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow">Buy now</a></span>
|
93 |
</td>
|
94 |
</tr>
|
95 |
|
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.0.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
-
"POT-Creation-Date: 2014-06-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -16,7 +16,7 @@ msgstr ""
|
|
16 |
msgid "Cheatin’ huh?"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#. #-#-#-#-# bulk-delete.pot (Bulk Delete 5.0.
|
20 |
#. Plugin Name of the plugin/theme
|
21 |
#: bulk-delete.php:238
|
22 |
msgid "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 5.0.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
+
"POT-Creation-Date: 2014-06-12 10:05:40+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
msgid "Cheatin’ huh?"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#. #-#-#-#-# bulk-delete.pot (Bulk Delete 5.0.2) #-#-#-#-#
|
20 |
#. Plugin Name of the plugin/theme
|
21 |
#: bulk-delete.php:238
|
22 |
msgid "Bulk Delete"
|
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.0.
|
8 |
|
9 |
Bulk delete posts, pages or users in bulk based on different conditions and filters.
|
10 |
|
@@ -27,9 +27,9 @@ This Plugin supports the following bulk delete options for deleting posts
|
|
27 |
- Delete posts by custom taxonomy
|
28 |
- Delete posts by custom post type
|
29 |
- Delete posts by url
|
30 |
-
- Delete posts by custom field (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-custom-field
|
31 |
-
- Delete posts by title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-title
|
32 |
-
- Delete posts by duplicate title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title
|
33 |
- Delete all draft posts
|
34 |
- Delete all pending posts
|
35 |
- Delete all private posts
|
@@ -43,7 +43,7 @@ All the above options support the following filters
|
|
43 |
- Only private posts
|
44 |
- Restrict to first N posts
|
45 |
- Delete permanently or just move to trash
|
46 |
-
- Schedule deletion of posts automatically (Available as a [Pro addon](http://bulkwp.com/addons
|
47 |
|
48 |
#### Deleting pages
|
49 |
|
@@ -61,7 +61,7 @@ Like posts, all the above options support the following filters as well
|
|
61 |
- Only private posts
|
62 |
- Restrict to first N posts
|
63 |
- Delete permanently or just move to trash
|
64 |
-
- Schedule deletion of pages automatically (Available as a [Pro addon](http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status
|
65 |
|
66 |
#### Deleting post revisions
|
67 |
|
@@ -74,7 +74,7 @@ Like posts, all the above options support the following filters as well
|
|
74 |
|
75 |
#### Deleting posts by content and page views
|
76 |
|
77 |
-
- Delete duplicate posts by title (Available as a [Pro addon](http://bulkwp.com/addons/bulk-delete-posts-by-duplicate-title
|
78 |
|
79 |
More options coming soon :)
|
80 |
|
@@ -84,18 +84,18 @@ If you looking for just moving posts, instead of deleting, then use [Bulk Move P
|
|
84 |
|
85 |
### Pro Addons
|
86 |
|
87 |
-
The following are the popular pro addons that are available for purchase. The full list of [pro addons](http://bulkwp.com/addons
|
88 |
|
89 |
-
- **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
|
90 |
-
- **Delete posts by title** - Adds the ability to delete posts based on title. [More details](http://bulkwp.com/addons/bulk-delete-posts-by-title
|
91 |
-
- **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
|
92 |
-
- **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
|
93 |
-
- **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
|
94 |
-
- **Scheduler for deleting posts by Custom Taxonomy** - Adds the ability to schedule auto delete of posts based on custom taxonomy. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy
|
95 |
-
- **Scheduler for deleting posts by Custom post type** - Adds the ability to schedule auto delete of posts based on custom post type. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-post-type
|
96 |
-
- **Scheduler for deleting posts by Post Status** - Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-status
|
97 |
-
- **Scheduler for deleting pages by status** - Adds the ability to schedule auto delete of pages based on status. [More details](http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status
|
98 |
-
- **Scheduler for deleting users by User Role** - Adds the ability to schedule auto delete of users based on user role. [More details](http://bulkwp.com/addons/scheduler-for-deleting-users-by-role
|
99 |
|
100 |
### Development
|
101 |
|
@@ -201,11 +201,11 @@ I currently disable and enable the `pre_get_posts` filter if I find that "The ev
|
|
201 |
|
202 |
= Is it possible to schedule deletion of posts? =
|
203 |
|
204 |
-
The ability to schedule deletion of posts is available as a [pro addon](http://bulkwp.com/addons
|
205 |
|
206 |
= I have a question about the pro addons, how should I contact you? =
|
207 |
|
208 |
-
You can contact us by posting about it in our [support forum](http://bulkwp.com/support
|
209 |
|
210 |
== Screenshots ==
|
211 |
|
@@ -231,7 +231,7 @@ You can contact us by posting about it in our [support forum](http://bulkwp.com/
|
|
231 |
7. The above screenshot shows how you can delete users by user role.
|
232 |
|
233 |
|
234 |
-
8. The above screenshot shows how you can schedule auto delete of posts. Note that this feature is available only when you buy [pro addons](http://bulkwp.com/addons
|
235 |
|
236 |
|
237 |
9. The above screenshot shows how you can enable/disable different sections of the Plugin.
|
@@ -241,7 +241,10 @@ You can contact us by posting about it in our [support forum](http://bulkwp.com/
|
|
241 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|
242 |
== Changelog ==
|
243 |
|
244 |
-
= 2014-
|
|
|
|
|
|
|
245 |
- Fix: Deleting users had as issue that was introduced in v5.0
|
246 |
|
247 |
= 2014-06-10 - v5.0 - (Dev time: 60 hours) =
|
@@ -426,6 +429,9 @@ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/
|
|
426 |
|
427 |
== Upgrade Notice ==
|
428 |
|
|
|
|
|
|
|
429 |
= 5.0.1 =
|
430 |
Fix delete users. Note: This version is only compatible with addons above v0.5
|
431 |
|
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.0.2
|
8 |
|
9 |
Bulk delete posts, pages or users in bulk based on different conditions and filters.
|
10 |
|
27 |
- Delete posts by custom taxonomy
|
28 |
- Delete posts by custom post type
|
29 |
- Delete posts by url
|
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
|
43 |
- Only private posts
|
44 |
- Restrict to first N posts
|
45 |
- Delete permanently or just move to trash
|
46 |
+
- Schedule deletion of posts automatically (Available as a [Pro addon](http://bulkwp.com/addons/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
|
47 |
|
48 |
#### Deleting pages
|
49 |
|
61 |
- Only private posts
|
62 |
- Restrict to first N posts
|
63 |
- Delete permanently or just move to trash
|
64 |
+
- Schedule deletion of pages automatically (Available as a [Pro addon](http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme))
|
65 |
|
66 |
#### Deleting post revisions
|
67 |
|
74 |
|
75 |
#### Deleting posts by content and page views
|
76 |
|
77 |
+
- Delete duplicate posts by 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))
|
78 |
|
79 |
More options coming soon :)
|
80 |
|
84 |
|
85 |
### Pro Addons
|
86 |
|
87 |
+
The following are the popular pro addons that are available for purchase. The full list of [pro addons](http://bulkwp.com/addons/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme) is available at the plugin site.
|
88 |
|
89 |
+
- **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).
|
90 |
+
- **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).
|
91 |
+
- **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).
|
92 |
+
- **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).
|
93 |
+
- **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).
|
94 |
+
- **Scheduler for deleting posts by Custom Taxonomy** - Adds the ability to schedule auto delete of posts based on custom taxonomy. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-taxonomy/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
95 |
+
- **Scheduler for deleting posts by Custom post type** - Adds the ability to schedule auto delete of posts based on custom post type. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-post-type/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
96 |
+
- **Scheduler for deleting posts by Post Status** - Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc. [More details](http://bulkwp.com/addons/scheduler-for-deleting-posts-by-status/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
97 |
+
- **Scheduler for deleting pages by status** - Adds the ability to schedule auto delete of pages based on status. [More details](http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
98 |
+
- **Scheduler for deleting users by User Role** - Adds the ability to schedule auto delete of users based on user role. [More details](http://bulkwp.com/addons/scheduler-for-deleting-users-by-role/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
99 |
|
100 |
### Development
|
101 |
|
201 |
|
202 |
= Is it possible to schedule deletion of posts? =
|
203 |
|
204 |
+
The ability to schedule deletion of posts is available as a [pro addon](http://bulkwp.com/addons/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
205 |
|
206 |
= I have a question about the pro addons, how should I contact you? =
|
207 |
|
208 |
+
You can contact us by posting about it in our [support forum](http://bulkwp.com/support/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
209 |
|
210 |
== Screenshots ==
|
211 |
|
231 |
7. The above screenshot shows how you can delete users by user role.
|
232 |
|
233 |
|
234 |
+
8. The above screenshot shows how you can schedule auto delete of posts. Note that this feature is available only when you buy [pro addons](http://bulkwp.com/addons/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
235 |
|
236 |
|
237 |
9. The above screenshot shows how you can enable/disable different sections of the Plugin.
|
241 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|
242 |
== Changelog ==
|
243 |
|
244 |
+
= 2014-06-12 - v5.0.2 - (Dev time: 1 hours) =
|
245 |
+
- Bug: Added compatibility for PHP version 5.2.4 (Issue #64)
|
246 |
+
|
247 |
+
= 2014-06-10 - v5.0.1 - (Dev time: 1 hours) =
|
248 |
- Fix: Deleting users had as issue that was introduced in v5.0
|
249 |
|
250 |
= 2014-06-10 - v5.0 - (Dev time: 60 hours) =
|
429 |
|
430 |
== Upgrade Notice ==
|
431 |
|
432 |
+
= 5.0.2 =
|
433 |
+
Added compatibility for PHP version 5.2.4
|
434 |
+
|
435 |
= 5.0.1 =
|
436 |
Fix delete users. Note: This version is only compatible with addons above v0.5
|
437 |
|