Version Description
Ability to delete Jetpack Contact Form messages
Download this release
Release Info
Developer | sudar |
Plugin | Bulk Delete |
Version | 5.3 |
Comparing to | |
See all releases |
Code changes from version 5.2 to 5.3
- bulk-delete.php +68 -8
- include/class-bd-license.php +12 -0
- include/class-bulk-delete-pages.php +0 -1
- include/class-bulk-delete-posts.php +0 -34
- include/class-bulk-delete-system-info.php +27 -11
- include/class-cron-list-table.php +1 -1
- include/misc/class-bulk-delete-jetpack-contact-form-messages.php +308 -0
- include/misc/class-bulk-delete-misc.php +173 -0
- include/settings/class-bd-settings-page.php +131 -0
- include/settings/setting-helpers.php +74 -0
- js/bulk-delete.js +4 -1
- languages/bulk-delete.pot +444 -265
- readme.txt +31 -7
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.
|
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.
|
40 |
*/
|
41 |
|
42 |
// Exit if accessed directly
|
@@ -56,7 +56,11 @@ final class Bulk_Delete {
|
|
56 |
*/
|
57 |
private static $instance;
|
58 |
|
59 |
-
|
|
|
|
|
|
|
|
|
60 |
|
61 |
// page slugs
|
62 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
@@ -203,6 +207,13 @@ final class Bulk_Delete {
|
|
203 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-posts.php';
|
204 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-pages.php';
|
205 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-users.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-system-info.php';
|
207 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-util.php';
|
208 |
require_once self::$PLUGIN_DIR . '/include/class-bd-license.php';
|
@@ -240,15 +251,43 @@ final class Bulk_Delete {
|
|
240 |
* Add navigation menu
|
241 |
*/
|
242 |
function add_menu() {
|
243 |
-
add_menu_page( __( 'Bulk
|
244 |
|
245 |
$this->posts_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' ) );
|
246 |
$this->pages_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Pages' , 'bulk-delete' ) , __( 'Bulk Delete Pages' , 'bulk-delete' ) , 'delete_pages' , self::PAGES_PAGE_SLUG , array( &$this , 'display_pages_page' ) );
|
247 |
$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' ) );
|
248 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
$this->addon_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Addon Licenses' , 'bulk-delete' ) , __( 'Addon Licenses' , 'bulk-delete' ) , 'activate_plugins' , self::ADDON_PAGE_SLUG , array( 'BD_License' , 'display_addon_page' ) );
|
250 |
$this->info_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete System Info' , 'bulk-delete' ) , __( 'System Info' , 'bulk-delete' ) , 'manage_options' , self::INFO_PAGE_SLUG , array( 'Bulk_Delete_System_Info' , 'display_system_info' ) );
|
251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
// enqueue JavaScript
|
253 |
add_action( 'admin_print_scripts-' . $this->posts_page, array( &$this, 'add_script') );
|
254 |
add_action( 'admin_print_scripts-' . $this->pages_page, array( &$this, 'add_script') );
|
@@ -281,7 +320,6 @@ final class Bulk_Delete {
|
|
281 |
|
282 |
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
283 |
do_action('add_meta_boxes_' . $this->posts_page, null);
|
284 |
-
do_action('add_meta_boxes', $this->posts_page, null);
|
285 |
|
286 |
/* Enqueue WordPress' script for handling the meta boxes */
|
287 |
wp_enqueue_script('postbox');
|
@@ -303,6 +341,14 @@ final class Bulk_Delete {
|
|
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 |
|
308 |
/**
|
@@ -321,7 +367,6 @@ final class Bulk_Delete {
|
|
321 |
|
322 |
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
323 |
do_action('add_meta_boxes_' . $this->pages_page, null);
|
324 |
-
do_action('add_meta_boxes', $this->pages_page, null);
|
325 |
|
326 |
/* Enqueue WordPress' script for handling the meta boxes */
|
327 |
wp_enqueue_script('postbox');
|
@@ -335,6 +380,14 @@ final class Bulk_Delete {
|
|
335 |
function add_delete_pages_meta_boxes() {
|
336 |
add_meta_box( self::BOX_PAGE_STATUS , __( 'By Page status' , 'bulk-delete' ) , 'Bulk_Delete_Pages::render_delete_pages_by_status_box' , $this->pages_page , 'advanced' );
|
337 |
add_meta_box( self::BOX_PAGE_FROM_TRASH , __( 'Pages in Trash' , 'bulk-delete' ) , 'Bulk_Delete_Pages::render_delete_pages_from_trash' , $this->pages_page , 'advanced' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
}
|
339 |
|
340 |
/**
|
@@ -351,7 +404,6 @@ final class Bulk_Delete {
|
|
351 |
|
352 |
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
353 |
do_action('add_meta_boxes_' . $this->users_page, null);
|
354 |
-
do_action('add_meta_boxes', $this->users_page, null);
|
355 |
|
356 |
/* Enqueue WordPress' script for handling the meta boxes */
|
357 |
wp_enqueue_script('postbox');
|
@@ -362,6 +414,14 @@ final class Bulk_Delete {
|
|
362 |
*/
|
363 |
function add_delete_users_meta_boxes() {
|
364 |
add_meta_box( self::BOX_USERS, __( 'By User Role', 'bulk-delete' ), 'Bulk_Delete_Users::render_delete_users_by_role_box', $this->users_page, 'advanced' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
366 |
|
367 |
/**
|
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.3
|
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.3
|
40 |
*/
|
41 |
|
42 |
// Exit if accessed directly
|
56 |
*/
|
57 |
private static $instance;
|
58 |
|
59 |
+
// version
|
60 |
+
const VERSION = '5.3';
|
61 |
+
|
62 |
+
// Numeric constants
|
63 |
+
const MENU_ORDER = '26.9966';
|
64 |
|
65 |
// page slugs
|
66 |
const POSTS_PAGE_SLUG = 'bulk-delete-posts';
|
207 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-posts.php';
|
208 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-pages.php';
|
209 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-users.php';
|
210 |
+
|
211 |
+
require_once self::$PLUGIN_DIR . '/include/misc/class-bulk-delete-misc.php';
|
212 |
+
require_once self::$PLUGIN_DIR . '/include/misc/class-bulk-delete-jetpack-contact-form-messages.php';
|
213 |
+
|
214 |
+
require_once self::$PLUGIN_DIR . '/include/settings/class-bd-settings-page.php';
|
215 |
+
require_once self::$PLUGIN_DIR . '/include/settings/setting-helpers.php';
|
216 |
+
|
217 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-system-info.php';
|
218 |
require_once self::$PLUGIN_DIR . '/include/class-bulk-delete-util.php';
|
219 |
require_once self::$PLUGIN_DIR . '/include/class-bd-license.php';
|
251 |
* Add navigation menu
|
252 |
*/
|
253 |
function add_menu() {
|
254 |
+
add_menu_page( __( 'Bulk WP', 'bulk-delete' ), __( 'Bulk WP', 'bulk-delete' ), 'manage_options', self::POSTS_PAGE_SLUG, array( &$this, 'display_posts_page' ), 'dashicons-trash', self::MENU_ORDER );
|
255 |
|
256 |
$this->posts_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' ) );
|
257 |
$this->pages_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Pages' , 'bulk-delete' ) , __( 'Bulk Delete Pages' , 'bulk-delete' ) , 'delete_pages' , self::PAGES_PAGE_SLUG , array( &$this , 'display_pages_page' ) );
|
258 |
$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' ) );
|
259 |
+
|
260 |
+
/**
|
261 |
+
* Runs just after adding all *delete* menu items to Bulk WP main menu
|
262 |
+
*
|
263 |
+
* This action is primarily for adding extra *delete* menu items to the Bulk WP main menu.
|
264 |
+
*
|
265 |
+
* @since 5.3
|
266 |
+
*/
|
267 |
+
do_action( 'bd_after_primary_menus' );
|
268 |
+
|
269 |
+
/**
|
270 |
+
* Runs just before adding non-action menu items to Bulk WP main menu
|
271 |
+
*
|
272 |
+
* This action is primarily for adding extra menu items before non-action menu items to the Bulk WP main menu.
|
273 |
+
*
|
274 |
+
* @since 5.3
|
275 |
+
*/
|
276 |
+
do_action( 'bd_before_secondary_menus' );
|
277 |
+
|
278 |
+
$this->cron_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete Schedules' , 'bulk-delete' ) , __( 'Scheduled Jobs' , 'bulk-delete' ) , 'delete_posts' , self::CRON_PAGE_SLUG , array( &$this , 'display_cron_page' ) );
|
279 |
$this->addon_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Addon Licenses' , 'bulk-delete' ) , __( 'Addon Licenses' , 'bulk-delete' ) , 'activate_plugins' , self::ADDON_PAGE_SLUG , array( 'BD_License' , 'display_addon_page' ) );
|
280 |
$this->info_page = add_submenu_page( self::POSTS_PAGE_SLUG , __( 'Bulk Delete System Info' , 'bulk-delete' ) , __( 'System Info' , 'bulk-delete' ) , 'manage_options' , self::INFO_PAGE_SLUG , array( 'Bulk_Delete_System_Info' , 'display_system_info' ) );
|
281 |
|
282 |
+
/**
|
283 |
+
* Runs just after adding all menu items to Bulk WP main menu
|
284 |
+
*
|
285 |
+
* This action is primarily for adding extra menu items to the Bulk WP main menu.
|
286 |
+
*
|
287 |
+
* @since 5.3
|
288 |
+
*/
|
289 |
+
do_action( 'bd_after_all_menus' );
|
290 |
+
|
291 |
// enqueue JavaScript
|
292 |
add_action( 'admin_print_scripts-' . $this->posts_page, array( &$this, 'add_script') );
|
293 |
add_action( 'admin_print_scripts-' . $this->pages_page, array( &$this, 'add_script') );
|
320 |
|
321 |
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
322 |
do_action('add_meta_boxes_' . $this->posts_page, null);
|
|
|
323 |
|
324 |
/* Enqueue WordPress' script for handling the meta boxes */
|
325 |
wp_enqueue_script('postbox');
|
341 |
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' );
|
342 |
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' );
|
343 |
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' );
|
344 |
+
|
345 |
+
/**
|
346 |
+
* Add meta box in delete posts page
|
347 |
+
* This hook can be used for adding additional meta boxes in delete posts page
|
348 |
+
*
|
349 |
+
* @since 5.3
|
350 |
+
*/
|
351 |
+
do_action( 'bd_add_meta_box_for_posts' );
|
352 |
}
|
353 |
|
354 |
/**
|
367 |
|
368 |
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
369 |
do_action('add_meta_boxes_' . $this->pages_page, null);
|
|
|
370 |
|
371 |
/* Enqueue WordPress' script for handling the meta boxes */
|
372 |
wp_enqueue_script('postbox');
|
380 |
function add_delete_pages_meta_boxes() {
|
381 |
add_meta_box( self::BOX_PAGE_STATUS , __( 'By Page status' , 'bulk-delete' ) , 'Bulk_Delete_Pages::render_delete_pages_by_status_box' , $this->pages_page , 'advanced' );
|
382 |
add_meta_box( self::BOX_PAGE_FROM_TRASH , __( 'Pages in Trash' , 'bulk-delete' ) , 'Bulk_Delete_Pages::render_delete_pages_from_trash' , $this->pages_page , 'advanced' );
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Add meta box in delete pages page
|
386 |
+
* This hook can be used for adding additional meta boxes in delete pages page
|
387 |
+
*
|
388 |
+
* @since 5.3
|
389 |
+
*/
|
390 |
+
do_action( 'bd_add_meta_box_for_pages' );
|
391 |
}
|
392 |
|
393 |
/**
|
404 |
|
405 |
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
406 |
do_action('add_meta_boxes_' . $this->users_page, null);
|
|
|
407 |
|
408 |
/* Enqueue WordPress' script for handling the meta boxes */
|
409 |
wp_enqueue_script('postbox');
|
414 |
*/
|
415 |
function add_delete_users_meta_boxes() {
|
416 |
add_meta_box( self::BOX_USERS, __( 'By User Role', 'bulk-delete' ), 'Bulk_Delete_Users::render_delete_users_by_role_box', $this->users_page, 'advanced' );
|
417 |
+
|
418 |
+
/**
|
419 |
+
* Add meta box in delete users page
|
420 |
+
* This hook can be used for adding additional meta boxes in delete users page
|
421 |
+
*
|
422 |
+
* @since 5.3
|
423 |
+
*/
|
424 |
+
do_action( 'bd_add_meta_box_for_users' );
|
425 |
}
|
426 |
|
427 |
/**
|
include/class-bd-license.php
CHANGED
@@ -388,6 +388,18 @@ class BD_License {
|
|
388 |
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-from-trash/?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 Category', 'bulk-delete'), '</strong>', ' - ';
|
393 |
echo __('Adds the ability to schedule auto delete of posts based on category', 'bulk-delete');
|
388 |
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-from-trash/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=addonlist">', __( 'More Info', 'bulk-delete' ), '</a>.';
|
389 |
echo '</li>';
|
390 |
|
391 |
+
echo '<li>';
|
392 |
+
echo '<strong>', __( 'Delete Jetpack Contact Form Messages', 'bulk-delete' ), '</strong>', ' - ';
|
393 |
+
echo __( 'Adds the ability to delete Jetpack Contact Form Messages based on filters and to schedule automatic deletion', 'bulk-delete' );
|
394 |
+
echo ' <a href = "http://bulkwp.com/addons/bulk-delete-jetpack-contact-form-messages/?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 Email', 'bulk-delete' ), '</strong>', ' - ';
|
399 |
+
echo __( 'Sends an email every time a Bulk WP scheduler runs', 'bulk-delete' );
|
400 |
+
echo ' <a href = "http://bulkwp.com/addons/scheduler-email/?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 Category', 'bulk-delete'), '</strong>', ' - ';
|
405 |
echo __('Adds the ability to schedule auto delete of posts based on category', 'bulk-delete');
|
include/class-bulk-delete-pages.php
CHANGED
@@ -185,7 +185,6 @@ class Bulk_Delete_Pages {
|
|
185 |
public static function delete_pages_by_status( $delete_options ) {
|
186 |
global $wp_query;
|
187 |
|
188 |
-
$bd = BULK_DELETE();
|
189 |
$options = array();
|
190 |
$post_status = array();
|
191 |
|
185 |
public static function delete_pages_by_status( $delete_options ) {
|
186 |
global $wp_query;
|
187 |
|
|
|
188 |
$options = array();
|
189 |
$post_status = array();
|
190 |
|
include/class-bulk-delete-posts.php
CHANGED
@@ -536,7 +536,6 @@ class Bulk_Delete_Posts {
|
|
536 |
$options['days'] = $delete_options['cats_days'];
|
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;
|
@@ -759,7 +758,6 @@ class Bulk_Delete_Posts {
|
|
759 |
$options['days'] = $delete_options['tags_days'];
|
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;
|
@@ -1052,7 +1050,6 @@ class Bulk_Delete_Posts {
|
|
1052 |
$options['days'] = $delete_options['taxs_days'];
|
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;
|
@@ -1290,14 +1287,11 @@ class Bulk_Delete_Posts {
|
|
1290 |
$force_delete = false;
|
1291 |
}
|
1292 |
|
1293 |
-
self::pre_query();
|
1294 |
-
|
1295 |
if ($delete_options['restrict'] == "true") {
|
1296 |
$options['op'] = $delete_options['types_op'];
|
1297 |
$options['days'] = $delete_options['types_days'];
|
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;
|
@@ -1306,8 +1300,6 @@ class Bulk_Delete_Posts {
|
|
1306 |
$wp_query = new WP_Query();
|
1307 |
$posts = $wp_query->query( $options );
|
1308 |
|
1309 |
-
self::post_query();
|
1310 |
-
|
1311 |
foreach ( $posts as $post ) {
|
1312 |
// $force delete parameter to custom post types doesn't work
|
1313 |
if ( $force_delete ) {
|
@@ -1323,32 +1315,6 @@ class Bulk_Delete_Posts {
|
|
1323 |
return $count;
|
1324 |
}
|
1325 |
|
1326 |
-
/**
|
1327 |
-
* The event calendar Plugin changes query parameters which results in compatibility issues.
|
1328 |
-
* So we disable it before executing our query
|
1329 |
-
*
|
1330 |
-
* @static
|
1331 |
-
* @access private
|
1332 |
-
*/
|
1333 |
-
private static function pre_query() {
|
1334 |
-
if ( class_exists( 'TribeEventsQuery' ) ) {
|
1335 |
-
remove_filter( 'pre_get_posts', array( TribeEventsQuery, 'pre_get_posts' ), 0 );
|
1336 |
-
}
|
1337 |
-
}
|
1338 |
-
|
1339 |
-
/**
|
1340 |
-
* The event calendar Plugin changes query parameters which results in compatibility issues.
|
1341 |
-
* So we disable it before executing our query and then enable it after our query
|
1342 |
-
*
|
1343 |
-
* @static
|
1344 |
-
* @access private
|
1345 |
-
*/
|
1346 |
-
private static function post_query() {
|
1347 |
-
if ( class_exists( 'TribeEventsQuery' ) ) {
|
1348 |
-
add_filter( 'pre_get_posts', array( TribeEventsQuery, 'pre_get_posts' ), 0 );
|
1349 |
-
}
|
1350 |
-
}
|
1351 |
-
|
1352 |
/**
|
1353 |
* Render delete by url box
|
1354 |
*
|
536 |
$options['days'] = $delete_options['cats_days'];
|
537 |
|
538 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
|
|
539 |
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
540 |
}
|
541 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
758 |
$options['days'] = $delete_options['tags_days'];
|
759 |
|
760 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
|
|
761 |
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
762 |
}
|
763 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1050 |
$options['days'] = $delete_options['taxs_days'];
|
1051 |
|
1052 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
|
|
1053 |
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
1054 |
}
|
1055 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1287 |
$force_delete = false;
|
1288 |
}
|
1289 |
|
|
|
|
|
1290 |
if ($delete_options['restrict'] == "true") {
|
1291 |
$options['op'] = $delete_options['types_op'];
|
1292 |
$options['days'] = $delete_options['types_days'];
|
1293 |
|
1294 |
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
|
|
1295 |
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
1296 |
}
|
1297 |
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
1300 |
$wp_query = new WP_Query();
|
1301 |
$posts = $wp_query->query( $options );
|
1302 |
|
|
|
|
|
1303 |
foreach ( $posts as $post ) {
|
1304 |
// $force delete parameter to custom post types doesn't work
|
1305 |
if ( $force_delete ) {
|
1315 |
return $count;
|
1316 |
}
|
1317 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1318 |
/**
|
1319 |
* Render delete by url box
|
1320 |
*
|
include/class-bulk-delete-system-info.php
CHANGED
@@ -47,7 +47,7 @@ class Bulk_Delete_System_Info {
|
|
47 |
$theme = $theme_data->Name . ' ' . $theme_data->Version;
|
48 |
}
|
49 |
|
50 |
-
// Try to
|
51 |
$host = false;
|
52 |
if( defined( 'WPE_APIKEY' ) ) {
|
53 |
$host = 'WP Engine';
|
@@ -55,14 +55,28 @@ class Bulk_Delete_System_Info {
|
|
55 |
$host = 'Pagely';
|
56 |
}
|
57 |
?>
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
-
|
|
|
|
|
65 |
|
|
|
|
|
|
|
|
|
66 |
<?php
|
67 |
do_action( 'bd_system_info_before' );
|
68 |
?>
|
@@ -73,7 +87,6 @@ SITE_URL: <?php echo site_url() . "\n"; ?>
|
|
73 |
HOME_URL: <?php echo home_url() . "\n"; ?>
|
74 |
|
75 |
Bulk Delete Version: <?php echo Bulk_Delete::VERSION . "\n"; ?>
|
76 |
-
Upgraded From: <?php echo get_option( 'bulk-delete_version_upgraded_from', 'None' ) . "\n"; ?>
|
77 |
WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
|
78 |
Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
|
79 |
Active Theme: <?php echo $theme . "\n"; ?>
|
@@ -101,6 +114,7 @@ PHP Arg Separator: <?php echo ini_get( 'arg_separator.output' ) . "\n"; ?
|
|
101 |
PHP Allow URL File Open: <?php echo ini_get( 'allow_url_fopen' ) ? "Yes" : "No\n"; ?>
|
102 |
|
103 |
WP_DEBUG: <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' . "\n" : 'Disabled' . "\n" : 'Not set' . "\n" ?>
|
|
|
104 |
|
105 |
EMPTY_TRASH_DAYS: <?php echo defined( 'EMPTY_TRASH_DAYS' ) ? EMPTY_TRASH_DAYS : 'Not set' . "\n" ?>
|
106 |
|
@@ -161,9 +175,11 @@ NETWORK ACTIVE PLUGINS:
|
|
161 |
<input type="hidden" name="bd_action" value="download_sysinfo">
|
162 |
<?php submit_button( 'Download System Info File', 'primary', 'bulk-delete-download-sysinfo', false ); ?>
|
163 |
</p>
|
164 |
-
|
165 |
-
</div>
|
166 |
-
</div
|
|
|
|
|
167 |
<?php
|
168 |
/**
|
169 |
* Runs just before displaying the footer text in the "System Info" admin page.
|
47 |
$theme = $theme_data->Name . ' ' . $theme_data->Version;
|
48 |
}
|
49 |
|
50 |
+
// Try to identity the hosting provider
|
51 |
$host = false;
|
52 |
if( defined( 'WPE_APIKEY' ) ) {
|
53 |
$host = 'WP Engine';
|
55 |
$host = 'Pagely';
|
56 |
}
|
57 |
?>
|
58 |
+
<div class="wrap">
|
59 |
+
<h2><?php _e( 'System Information', 'bulk-delete' ); ?></h2>
|
60 |
+
<?php settings_errors(); ?>
|
61 |
+
|
62 |
+
<form action="<?php echo esc_url( admin_url( 'admin.php?page=' . Bulk_Delete::INFO_PAGE_SLUG ) ); ?>" method="post" dir="ltr">
|
63 |
+
<div id = "poststuff">
|
64 |
+
<div id="post-body" class="metabox-holder columns-2">
|
65 |
+
|
66 |
+
<div id="post-body-content">
|
67 |
+
<div class="updated" >
|
68 |
+
<p><strong><?php _e( 'Please include this information when posting support requests.', 'bulk-delete' ); ?></strong></p>
|
69 |
+
</div>
|
70 |
+
</div><!-- #post-body-content -->
|
71 |
|
72 |
+
<div id="postbox-container-1" class="postbox-container">
|
73 |
+
<iframe frameBorder="0" height = "1300" src = "http://sudarmuthu.com/projects/wordpress/bulk-delete/sidebar.php?color=<?php echo get_user_option( 'admin_color' ); ?>&version=<?php echo Bulk_Delete::VERSION; ?>"></iframe>
|
74 |
+
</div>
|
75 |
|
76 |
+
<div id="postbox-container-2" class="postbox-container">
|
77 |
+
|
78 |
+
<textarea style="width:800px;height:500px;font-family:Menlo,Monaco,monospace;white-space:pre;" readonly="readonly" onclick="this.focus();this.select()" id="system-info-textarea" name="bulk-delete-sysinfo" title="<?php _e( 'To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'bulk-delete' ); ?>">
|
79 |
+
### Begin System Info ###
|
80 |
<?php
|
81 |
do_action( 'bd_system_info_before' );
|
82 |
?>
|
87 |
HOME_URL: <?php echo home_url() . "\n"; ?>
|
88 |
|
89 |
Bulk Delete Version: <?php echo Bulk_Delete::VERSION . "\n"; ?>
|
|
|
90 |
WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
|
91 |
Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
|
92 |
Active Theme: <?php echo $theme . "\n"; ?>
|
114 |
PHP Allow URL File Open: <?php echo ini_get( 'allow_url_fopen' ) ? "Yes" : "No\n"; ?>
|
115 |
|
116 |
WP_DEBUG: <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' . "\n" : 'Disabled' . "\n" : 'Not set' . "\n" ?>
|
117 |
+
DISABLE_WP_CRON: <?php echo defined( 'DISABLE_WP_CRON' ) ? DISABLE_WP_CRON ? 'Yes' . "\n" : 'No' . "\n" : 'Not set' . "\n" ?>
|
118 |
|
119 |
EMPTY_TRASH_DAYS: <?php echo defined( 'EMPTY_TRASH_DAYS' ) ? EMPTY_TRASH_DAYS : 'Not set' . "\n" ?>
|
120 |
|
175 |
<input type="hidden" name="bd_action" value="download_sysinfo">
|
176 |
<?php submit_button( 'Download System Info File', 'primary', 'bulk-delete-download-sysinfo', false ); ?>
|
177 |
</p>
|
178 |
+
</div> <!-- #postbox-container-2 -->
|
179 |
+
</div> <!-- #post-body -->
|
180 |
+
</div><!-- #poststuff -->
|
181 |
+
</form>
|
182 |
+
</div><!-- .wrap -->
|
183 |
<?php
|
184 |
/**
|
185 |
* Runs just before displaying the footer text in the "System Info" admin page.
|
include/class-cron-list-table.php
CHANGED
@@ -52,7 +52,7 @@ class Cron_List_Table extends WP_List_Table {
|
|
52 |
*/
|
53 |
function get_columns() {
|
54 |
return $columns= array(
|
55 |
-
'col_cron_due'=>__('Next Due
|
56 |
'col_cron_schedule'=>__('Schedule', 'bulk-delete'),
|
57 |
'col_cron_type'=>__('Type', 'bulk-delete'),
|
58 |
'col_cron_options'=>__('Options', 'bulk-delete')
|
52 |
*/
|
53 |
function get_columns() {
|
54 |
return $columns= array(
|
55 |
+
'col_cron_due'=>__('Next Due', 'bulk-delete'),
|
56 |
'col_cron_schedule'=>__('Schedule', 'bulk-delete'),
|
57 |
'col_cron_type'=>__('Type', 'bulk-delete'),
|
58 |
'col_cron_options'=>__('Options', 'bulk-delete')
|
include/misc/class-bulk-delete-jetpack-contact-form-messages.php
ADDED
@@ -0,0 +1,308 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Utility class for deleting Jetpack Contact Form Messages
|
4 |
+
*
|
5 |
+
* @package Bulk_Delete
|
6 |
+
* @subpackage Misc
|
7 |
+
* @author Sudar
|
8 |
+
* @since 5.3
|
9 |
+
*/
|
10 |
+
class Bulk_Delete_Jetpack_Contact_Form_Message {
|
11 |
+
|
12 |
+
// box slugs
|
13 |
+
const BOX_JETPACK_MESSAGES = 'bd-jetpack-feedback';
|
14 |
+
|
15 |
+
const FEEDBACK_POST_TYPE = 'feedback';
|
16 |
+
const CRON_HOOK = 'do-bulk-delete-feedback';
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Register Jetpack Feedback meta box for delete misc page
|
20 |
+
*
|
21 |
+
* @static
|
22 |
+
* @since 5.3
|
23 |
+
*/
|
24 |
+
public static function add_delete_jetpack_messages_meta_box() {
|
25 |
+
$bd = BULK_DELETE();
|
26 |
+
|
27 |
+
add_meta_box(
|
28 |
+
self::BOX_JETPACK_MESSAGES,
|
29 |
+
__( 'Bulk Delete Jetpack Contact Form Messages', 'bulk-delete' ),
|
30 |
+
array( __CLASS__, 'render_delete_jetpack_messages_box' ),
|
31 |
+
$bd->misc_page,
|
32 |
+
'advanced'
|
33 |
+
);
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Render Jetpack Feedback meta box for delete misc page
|
38 |
+
*
|
39 |
+
* @static
|
40 |
+
* @since 5.3
|
41 |
+
*/
|
42 |
+
public static function render_delete_jetpack_messages_box() {
|
43 |
+
if ( Bulk_Delete_Misc::is_misc_box_hidden( self::BOX_JETPACK_MESSAGES ) ) {
|
44 |
+
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_Misc::MISC_PAGE_SLUG );
|
45 |
+
return;
|
46 |
+
}
|
47 |
+
|
48 |
+
if ( !self::is_jetpack_contact_active() ) {
|
49 |
+
?>
|
50 |
+
<!-- Delete Jetpack Feedback box start-->
|
51 |
+
<p>
|
52 |
+
<span style="color:red">
|
53 |
+
<?php _e( 'Jetpack contact form is not enabled.', 'bulk-delete' ); ?>
|
54 |
+
</span>
|
55 |
+
</p>
|
56 |
+
<!-- Delete Jetpack Feedback box end-->
|
57 |
+
<?php
|
58 |
+
} else {
|
59 |
+
$feedback_count = wp_count_posts( self::FEEDBACK_POST_TYPE );
|
60 |
+
?>
|
61 |
+
<!-- Delete Jetpack Feedback box start-->
|
62 |
+
<fieldset class="options">
|
63 |
+
<table class="optiontable">
|
64 |
+
<tr>
|
65 |
+
<td scope="row" >
|
66 |
+
<input name="smbd_feedback_use_filter" value = "false" type = "radio" checked>
|
67 |
+
</td>
|
68 |
+
<td>
|
69 |
+
<label for="smbd_feedback"><?php echo __( 'Delete all Contact Form Messages', 'bulk-delete' ), ' ( ', $feedback_count->publish, ' ', __( 'in total', 'bulk-delete' ), ' )'; ?></label>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
|
73 |
+
<tr>
|
74 |
+
<td scope="row" >
|
75 |
+
<input name="smbd_feedback_use_filter" id="smbd_feedback_use_filter" value = "true" type = "radio" disabled>
|
76 |
+
</td>
|
77 |
+
<td>
|
78 |
+
<label for="smbd_feedback"><?php _e( 'Delete Messages based on filters', 'bulk-delete' ); ?></label>
|
79 |
+
<span class = "bd-feedback-pro" style = "color:red; vertical-align: middle;"><?php _e( 'Only available in Pro Addon', 'bulk-delete' ); ?> <a href = "http://bulkwp.com/addons/bulk-delete-jetpack-contact-form-messages/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow" target="_blank">Buy now</a></span>
|
80 |
+
</td>
|
81 |
+
</tr>
|
82 |
+
</table>
|
83 |
+
<?php
|
84 |
+
/**
|
85 |
+
* Add more fields to the delete jetpack messages form
|
86 |
+
* This hook can be used to add more fields to the delete jetpack messages form
|
87 |
+
*
|
88 |
+
* @since 5.3
|
89 |
+
*/
|
90 |
+
do_action( 'bd_delete_jetpack_messages_form' );
|
91 |
+
?>
|
92 |
+
<table class="optiontable">
|
93 |
+
<tr>
|
94 |
+
<td colspan="2">
|
95 |
+
<h4><?php _e( 'Choose your date options', 'bulk-delete' ); ?></h4>
|
96 |
+
</td>
|
97 |
+
</tr>
|
98 |
+
|
99 |
+
<tr>
|
100 |
+
<td scope="row">
|
101 |
+
<input name="smbd_feedback_restrict" id ="smbd_feedback_restrict" value = "true" type = "checkbox">
|
102 |
+
</td>
|
103 |
+
<td>
|
104 |
+
<?php _e( 'Only restrict to posts which are ', 'bulk-delete' );?>
|
105 |
+
<select name="smbd_feedback_op" id="smbd_feedback_op" disabled>
|
106 |
+
<option value ="<"><?php _e( 'older than', 'bulk-delete' );?></option>
|
107 |
+
<option value =">"><?php _e( 'posted within last', 'bulk-delete' );?></option>
|
108 |
+
</select>
|
109 |
+
<input type ="textbox" name="smbd_feedback_days" id ="smbd_feedback_days" value ="0" maxlength="4" size="4" disabled><?php _e( 'days', 'bulk-delete' );?>
|
110 |
+
</td>
|
111 |
+
</tr>
|
112 |
+
|
113 |
+
<tr>
|
114 |
+
<td scope="row">
|
115 |
+
<input name="smbd_feedback_limit" id="smbd_feedback_limit" value = "true" type = "checkbox">
|
116 |
+
</td>
|
117 |
+
<td>
|
118 |
+
<?php _e( 'Only delete first ', 'bulk-delete' );?>
|
119 |
+
<input type ="textbox" name="smbd_feedback_limit_to" id="smbd_feedback_limit_to" disabled value ="0" maxlength="4" size="4"><?php _e( 'posts.', 'bulk-delete' );?>
|
120 |
+
<?php _e( 'Use this option if there are more than 1000 posts and the script timesout.', 'bulk-delete' ) ?>
|
121 |
+
</td>
|
122 |
+
</tr>
|
123 |
+
|
124 |
+
<tr>
|
125 |
+
<td colspan="2">
|
126 |
+
<h4><?php _e( 'Choose your deletion options', 'bulk-delete' ); ?></h4>
|
127 |
+
</td>
|
128 |
+
</tr>
|
129 |
+
|
130 |
+
<tr>
|
131 |
+
<td scope="row" colspan="2">
|
132 |
+
<input name="smbd_feedback_force_delete" value = "false" type = "radio" checked="checked"> <?php _e( 'Move to Trash', 'bulk-delete' ); ?>
|
133 |
+
<input name="smbd_feedback_force_delete" value = "true" type = "radio"> <?php _e( 'Delete permanently', 'bulk-delete' ); ?>
|
134 |
+
</td>
|
135 |
+
</tr>
|
136 |
+
|
137 |
+
<tr>
|
138 |
+
<td scope="row" colspan="2">
|
139 |
+
<input name="smbd_feedback_cron" value = "false" type = "radio" checked="checked" > <?php _e( 'Delete now', 'bulk-delete' ); ?>
|
140 |
+
<input name="smbd_feedback_cron" value = "true" type = "radio" id = "smbd_feedback_cron" disabled > <?php _e( 'Schedule', 'bulk-delete' ); ?>
|
141 |
+
<input name="smbd_feedback_cron_start" id = "smbd_feedback_cron_start" value = "now" type = "text" disabled><?php _e( 'repeat ', 'bulk-delete' );?>
|
142 |
+
<select name = "smbd_feedback_cron_freq" id = "smbd_feedback_cron_freq" disabled>
|
143 |
+
<option value = "-1"><?php _e( "Don't repeat", 'bulk-delete' ); ?></option>
|
144 |
+
<?php
|
145 |
+
$schedules = wp_get_schedules();
|
146 |
+
foreach($schedules as $key => $value) {
|
147 |
+
?>
|
148 |
+
<option value = "<?php echo $key; ?>"><?php echo $value['display']; ?></option>
|
149 |
+
<?php
|
150 |
+
}
|
151 |
+
?>
|
152 |
+
</select>
|
153 |
+
<span class = "bd-feedback-pro" style = "color:red"><?php _e( 'Only available in Pro Addon', 'bulk-delete' ); ?> <a href = "http://bulkwp.com/addons/bulk-delete-jetpack-contact-form-messages/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow" target="_blank">Buy now</a></span>
|
154 |
+
</td>
|
155 |
+
</tr>
|
156 |
+
|
157 |
+
</table>
|
158 |
+
</fieldset>
|
159 |
+
<p class="submit">
|
160 |
+
<button type='submit' name='bd_action' value = 'delete_jetpack_messages' class='button-primary'><?php _e( 'Bulk Delete ', 'bulk-delete' ) ?>»</button>
|
161 |
+
</p>
|
162 |
+
<!-- Delete Jetpack Feedback box end-->
|
163 |
+
<?php
|
164 |
+
}
|
165 |
+
}
|
166 |
+
|
167 |
+
/**
|
168 |
+
* Controller for deleting Jetpack contact form messages
|
169 |
+
*
|
170 |
+
* @static
|
171 |
+
* @since 5.3
|
172 |
+
*/
|
173 |
+
public static function do_delete_jetpack_messages() {
|
174 |
+
$delete_options = array();
|
175 |
+
|
176 |
+
$delete_options['use_filter'] = array_get( $_POST, 'smbd_feedback_use_filter', 'false' );
|
177 |
+
|
178 |
+
$delete_options['restrict'] = array_get( $_POST, 'smbd_feedback_restrict', FALSE );
|
179 |
+
$delete_options['limit_to'] = absint( array_get( $_POST, 'smbd_feedback_limit_to', 0 ) );
|
180 |
+
$delete_options['force_delete'] = array_get( $_POST, 'smbd_feedback_force_delete', 'false' );
|
181 |
+
|
182 |
+
$delete_options['feedback_op'] = array_get( $_POST, 'smbd_feedback_op' );
|
183 |
+
$delete_options['feedback_days'] = array_get( $_POST, 'smbd_feedback_days' );
|
184 |
+
|
185 |
+
/**
|
186 |
+
* Delete jetpack feedback delete options filter
|
187 |
+
* This filter is for processing filtering options for deleting jetpack message
|
188 |
+
*
|
189 |
+
* @since 5.3
|
190 |
+
*/
|
191 |
+
$delete_options = apply_filters( 'bd_delete_jetpack_messages_delete_options', $delete_options, $_POST );
|
192 |
+
|
193 |
+
if ( array_get( $_POST, 'smbd_feedback_cron', 'false' ) == 'true' ) {
|
194 |
+
$freq = $_POST['smbd_feedback_cron_freq'];
|
195 |
+
$time = strtotime( $_POST['smbd_feedback_cron_start'] ) - ( get_option( 'gmt_offset' ) * 60 * 60 );
|
196 |
+
|
197 |
+
if ( $freq == -1 ) {
|
198 |
+
wp_schedule_single_event( $time, self::CRON_HOOK, array( $delete_options ) );
|
199 |
+
} else {
|
200 |
+
wp_schedule_event( $time, $freq, self::CRON_HOOK, array( $delete_options ) );
|
201 |
+
}
|
202 |
+
$msg = __( 'Jetpack contact form messages with the selected criteria are scheduled for deletion.', 'bulk-delete' ) . ' ' .
|
203 |
+
sprintf( __( 'See the full list of <a href = "%s">scheduled tasks</a>' , 'bulk-delete' ), get_bloginfo( "wpurl" ) . '/wp-admin/admin.php?page=' . Bulk_Delete::CRON_PAGE_SLUG );
|
204 |
+
} else {
|
205 |
+
$deleted_count = self::delete_jetpack_messages( $delete_options );
|
206 |
+
$msg = sprintf( _n( 'Deleted %d Jetpack contact form message', 'Deleted %d Jetpack contact form messages' , $deleted_count, 'bulk-delete' ), $deleted_count );
|
207 |
+
}
|
208 |
+
|
209 |
+
add_settings_error(
|
210 |
+
Bulk_Delete_Misc::MISC_PAGE_SLUG,
|
211 |
+
'deleted-posts',
|
212 |
+
$msg,
|
213 |
+
'updated'
|
214 |
+
);
|
215 |
+
}
|
216 |
+
|
217 |
+
/**
|
218 |
+
* Delete Jetpack contact form messages
|
219 |
+
*
|
220 |
+
* @static
|
221 |
+
* @since 5.3
|
222 |
+
* @param array $delete_options Options for deleting
|
223 |
+
* @return int Number of posts that were deleted
|
224 |
+
*/
|
225 |
+
public static function delete_jetpack_messages( $delete_options ) {
|
226 |
+
$count = 0;
|
227 |
+
$use_filter = $delete_options['use_filter'];
|
228 |
+
|
229 |
+
$options = array(
|
230 |
+
'post_status' => 'publish',
|
231 |
+
'post_type' => self::FEEDBACK_POST_TYPE
|
232 |
+
);
|
233 |
+
|
234 |
+
$limit_to = $delete_options['limit_to'];
|
235 |
+
|
236 |
+
if ( $limit_to > 0 ) {
|
237 |
+
$options['showposts'] = $limit_to;
|
238 |
+
} else {
|
239 |
+
$options['nopaging'] = 'true';
|
240 |
+
}
|
241 |
+
|
242 |
+
$force_delete = $delete_options['force_delete'];
|
243 |
+
|
244 |
+
if ( $force_delete == 'true' ) {
|
245 |
+
$force_delete = true;
|
246 |
+
} else {
|
247 |
+
$force_delete = false;
|
248 |
+
}
|
249 |
+
|
250 |
+
if ($delete_options['restrict'] == "true") {
|
251 |
+
$options['op'] = $delete_options['feedback_op'];
|
252 |
+
$options['days'] = $delete_options['feedback_days'];
|
253 |
+
|
254 |
+
if ( !class_exists( 'Bulk_Delete_By_Days' ) ) {
|
255 |
+
require_once Bulk_Delete::$PLUGIN_DIR . '/include/class-bulk-delete-by-days.php';
|
256 |
+
}
|
257 |
+
$bulk_Delete_By_Days = new Bulk_Delete_By_Days;
|
258 |
+
}
|
259 |
+
|
260 |
+
$wp_query = new WP_Query();
|
261 |
+
$posts = $wp_query->query( $options );
|
262 |
+
|
263 |
+
foreach ( $posts as $post ) {
|
264 |
+
if ( 'true' == $use_filter ) {
|
265 |
+
/**
|
266 |
+
* Process additional filters for deleting jetpack messages
|
267 |
+
*
|
268 |
+
* @since 5.3
|
269 |
+
*/
|
270 |
+
$can_delete = apply_filters( 'bd_delete_jetpack_messages_can_delete', $delete_options, $post->ID );
|
271 |
+
if ( ! $can_delete ) {
|
272 |
+
continue;
|
273 |
+
}
|
274 |
+
}
|
275 |
+
|
276 |
+
// $force delete parameter to custom post types doesn't work
|
277 |
+
if ( $force_delete ) {
|
278 |
+
wp_delete_post( $post->ID, TRUE );
|
279 |
+
} else {
|
280 |
+
wp_trash_post( $post->ID );
|
281 |
+
}
|
282 |
+
$count++;
|
283 |
+
}
|
284 |
+
|
285 |
+
return $count;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Check whether Jetpack Contact Form is active
|
290 |
+
*
|
291 |
+
* @static
|
292 |
+
* @since 5.3
|
293 |
+
* @return bool True if active, False otherwise
|
294 |
+
*/
|
295 |
+
public static function is_jetpack_contact_active() {
|
296 |
+
$jetpack_active_modules = get_option( 'jetpack_active_modules' );
|
297 |
+
if ( class_exists( 'Jetpack', FALSE ) && $jetpack_active_modules && in_array( 'contact-form', $jetpack_active_modules ) ) {
|
298 |
+
return TRUE;
|
299 |
+
}
|
300 |
+
|
301 |
+
return FALSE;
|
302 |
+
}
|
303 |
+
}
|
304 |
+
|
305 |
+
// hooks
|
306 |
+
add_action( 'bd_add_meta_box_for_misc', array( 'Bulk_Delete_Jetpack_Contact_Form_Message', 'add_delete_jetpack_messages_meta_box' ) );
|
307 |
+
add_action( 'bd_delete_jetpack_messages', array( 'Bulk_Delete_Jetpack_Contact_Form_Message', 'do_delete_jetpack_messages' ) );
|
308 |
+
?>
|
include/misc/class-bulk-delete-misc.php
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Utility class for deleting Misc stuff
|
4 |
+
*
|
5 |
+
* @package Bulk_Delete
|
6 |
+
* @subpackage Misc
|
7 |
+
* @author Sudar
|
8 |
+
* @since 5.3
|
9 |
+
*/
|
10 |
+
class Bulk_Delete_Misc {
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Slug for *misc* page
|
14 |
+
*
|
15 |
+
* @since 5.3
|
16 |
+
*/
|
17 |
+
const MISC_PAGE_SLUG = 'bulk-delete-misc';
|
18 |
+
|
19 |
+
const VISIBLE_MISC_BOXES = 'metaboxhidden_bulk-delete_page_bulk-delete-misc';
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Add *misc* menu
|
23 |
+
*
|
24 |
+
* @static
|
25 |
+
* @since 5.3
|
26 |
+
*/
|
27 |
+
public static function add_menu() {
|
28 |
+
$bd = BULK_DELETE();
|
29 |
+
|
30 |
+
$bd->misc_page = add_submenu_page(
|
31 |
+
Bulk_Delete::POSTS_PAGE_SLUG,
|
32 |
+
__( 'Bulk Delete Miscellaneous Items', 'bulk-delete' ),
|
33 |
+
__( 'Bulk Delete Misc', 'bulk-delete' ),
|
34 |
+
'delete_posts',
|
35 |
+
self::MISC_PAGE_SLUG,
|
36 |
+
array( __CLASS__, 'display_misc_page' )
|
37 |
+
);
|
38 |
+
|
39 |
+
// enqueue JavaScript
|
40 |
+
add_action( 'admin_print_scripts-' . $bd->misc_page, array( $bd, 'add_script') );
|
41 |
+
|
42 |
+
// delete menus page
|
43 |
+
add_action( "load-{$bd->misc_page}", array( __CLASS__, 'add_delete_misc_settings_panel' ) );
|
44 |
+
add_action( "add_meta_boxes_{$bd->misc_page}", array( __CLASS__, 'add_delete_misc_meta_boxes' ) );
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Add settings Panel for delete misc page
|
49 |
+
*
|
50 |
+
* @static
|
51 |
+
* @since 5.3
|
52 |
+
*/
|
53 |
+
public static function add_delete_misc_settings_panel() {
|
54 |
+
$bd = BULK_DELETE();
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Add contextual help for admin screens
|
58 |
+
*
|
59 |
+
* @since 5.3
|
60 |
+
*/
|
61 |
+
do_action( 'bd_add_contextual_help', $bd->misc_page );
|
62 |
+
|
63 |
+
/* Trigger the add_meta_boxes hooks to allow meta boxes to be added */
|
64 |
+
do_action( 'add_meta_boxes_' . $bd->misc_page, null );
|
65 |
+
|
66 |
+
/* Enqueue WordPress' script for handling the meta boxes */
|
67 |
+
wp_enqueue_script( 'postbox' );
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Register meta boxes for delete misc page
|
72 |
+
*
|
73 |
+
* @static
|
74 |
+
* @since 5.3
|
75 |
+
*/
|
76 |
+
public static function add_delete_misc_meta_boxes() {
|
77 |
+
/**
|
78 |
+
* Add meta box in misc page
|
79 |
+
* This hook can be used for adding additional meta boxes in *misc* page
|
80 |
+
*
|
81 |
+
* @since 5.3
|
82 |
+
*/
|
83 |
+
do_action( 'bd_add_meta_box_for_misc' );
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Show the delete misc page
|
88 |
+
*
|
89 |
+
* @static
|
90 |
+
* @since 5.3
|
91 |
+
*/
|
92 |
+
public static function display_misc_page() {
|
93 |
+
?>
|
94 |
+
<div class="wrap">
|
95 |
+
<h2><?php _e( 'Bulk Delete Miscellaneous Items', 'bulk-delete' );?></h2>
|
96 |
+
<?php settings_errors(); ?>
|
97 |
+
|
98 |
+
<form method = "post">
|
99 |
+
<?php
|
100 |
+
// nonce for bulk delete
|
101 |
+
wp_nonce_field( 'sm-bulk-delete-misc', 'sm-bulk-delete-misc-nonce' );
|
102 |
+
|
103 |
+
/* Used to save closed meta boxes and their order */
|
104 |
+
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
105 |
+
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
106 |
+
?>
|
107 |
+
<div id = "poststuff">
|
108 |
+
<div id="post-body" class="metabox-holder columns-2">
|
109 |
+
|
110 |
+
<div id="post-body-content">
|
111 |
+
<div class="updated" >
|
112 |
+
<p><strong><?php _e( 'WARNING: Posts deleted once cannot be retrieved back. Use with caution.', 'bulk-delete' ); ?></strong></p>
|
113 |
+
</div>
|
114 |
+
</div><!-- #post-body-content -->
|
115 |
+
|
116 |
+
<div id="postbox-container-1" class="postbox-container">
|
117 |
+
<iframe frameBorder="0" height = "1300" src = "http://sudarmuthu.com/projects/wordpress/bulk-delete/sidebar.php?color=<?php echo get_user_option( 'admin_color' ); ?>&version=<?php echo Bulk_Delete::VERSION; ?>"></iframe>
|
118 |
+
</div>
|
119 |
+
|
120 |
+
<div id="postbox-container-2" class="postbox-container">
|
121 |
+
<?php do_meta_boxes( '', 'advanced', null ); ?>
|
122 |
+
</div> <!-- #postbox-container-2 -->
|
123 |
+
|
124 |
+
</div> <!-- #post-body -->
|
125 |
+
</div><!-- #poststuff -->
|
126 |
+
</form>
|
127 |
+
</div><!-- .wrap -->
|
128 |
+
|
129 |
+
<?php
|
130 |
+
/**
|
131 |
+
* Runs just before displaying the footer text in the "Bulk Delete Misc" admin page.
|
132 |
+
*
|
133 |
+
* This action is primarily for adding extra content in the footer of "Bulk Delete Misc" admin page.
|
134 |
+
*
|
135 |
+
* @since 5.3
|
136 |
+
*/
|
137 |
+
do_action( 'bd_admin_footer_misc_page' );
|
138 |
+
}
|
139 |
+
|
140 |
+
/**
|
141 |
+
* Check whether the meta box in misc page is hidden or not
|
142 |
+
*
|
143 |
+
* @static
|
144 |
+
* @access private
|
145 |
+
* @since 5.3
|
146 |
+
* @param string $box The name of the box to check
|
147 |
+
* @return bool True if the box is hidden, False otherwise
|
148 |
+
*/
|
149 |
+
public static function is_misc_box_hidden( $box ) {
|
150 |
+
$hidden_boxes = self::get_misc_hidden_boxes();
|
151 |
+
return ( is_array( $hidden_boxes ) && in_array( $box, $hidden_boxes ) );
|
152 |
+
}
|
153 |
+
|
154 |
+
/**
|
155 |
+
* Get the list of hidden boxes in misc page
|
156 |
+
*
|
157 |
+
* @static
|
158 |
+
* @access private
|
159 |
+
* @since 5.3
|
160 |
+
* @return array The array of hidden meta boxes
|
161 |
+
*/
|
162 |
+
private static function get_misc_hidden_boxes() {
|
163 |
+
$current_user = wp_get_current_user();
|
164 |
+
return get_user_meta( $current_user->ID, self::VISIBLE_MISC_BOXES, TRUE );
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
// Add menu
|
169 |
+
add_action( 'bd_after_primary_menus', array( 'Bulk_Delete_Misc' , 'add_menu' ) );
|
170 |
+
|
171 |
+
// Modify admin footer
|
172 |
+
add_action( 'bd_admin_footer_misc_page', 'bd_modify_admin_footer' );
|
173 |
+
?>
|
include/settings/class-bd-settings-page.php
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Utility class for Settings page
|
4 |
+
*
|
5 |
+
* @package Bulk_Delete
|
6 |
+
* @subpackage Settings
|
7 |
+
* @author Sudar
|
8 |
+
* @since 5.3
|
9 |
+
*/
|
10 |
+
class BD_Settings_Page {
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Slug for settings page
|
14 |
+
*
|
15 |
+
* @since 5.3
|
16 |
+
*/
|
17 |
+
const SETTINGS_PAGE_SLUG = 'bd-settings';
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Slugs for addon settings
|
21 |
+
*
|
22 |
+
* @since 5.3
|
23 |
+
*/
|
24 |
+
const ADDON_SETTING_OPTION_GROUP = 'bd_addon_settings';
|
25 |
+
const ADDON_SETTING_OPTION_NAME = 'bd_addon_settings';
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Add settings menu if needed
|
29 |
+
*
|
30 |
+
* @static
|
31 |
+
* @since 5.3
|
32 |
+
*/
|
33 |
+
public static function add_menu() {
|
34 |
+
$settings_page_needed = apply_filters( 'bd_settings_page_needed', FALSE );
|
35 |
+
if ( ! $settings_page_needed ) {
|
36 |
+
return;
|
37 |
+
}
|
38 |
+
|
39 |
+
$bd = BULK_DELETE();
|
40 |
+
|
41 |
+
// add page
|
42 |
+
$bd->settings_page = add_submenu_page(
|
43 |
+
Bulk_Delete::POSTS_PAGE_SLUG,
|
44 |
+
__( 'Bulk Delete Settings', 'bulk-delete' ),
|
45 |
+
__( 'Settings', 'bulk-delete' ),
|
46 |
+
'delete_posts',
|
47 |
+
self::SETTINGS_PAGE_SLUG,
|
48 |
+
array( __CLASS__, 'display_settings_page' )
|
49 |
+
);
|
50 |
+
|
51 |
+
// register settings
|
52 |
+
register_setting(
|
53 |
+
self::ADDON_SETTING_OPTION_GROUP, // Option group
|
54 |
+
self::ADDON_SETTING_OPTION_NAME, // Option name
|
55 |
+
array( __CLASS__, 'sanitize_settings' ) // Sanitize callback
|
56 |
+
);
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Sanitize Settings
|
61 |
+
*
|
62 |
+
* @static
|
63 |
+
* @since 5.3
|
64 |
+
*/
|
65 |
+
public static function sanitize_settings( $input = array() ) {
|
66 |
+
return apply_filters( 'bd_sanitize_settings_page_fields', $input );
|
67 |
+
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Return Addon settings
|
71 |
+
*
|
72 |
+
* @since 5.3
|
73 |
+
* @static
|
74 |
+
*/
|
75 |
+
public static function get_addon_settings() {
|
76 |
+
$options = get_option( self::ADDON_SETTING_OPTION_NAME, array() );
|
77 |
+
return apply_filters( 'bd_addon_settings', $options );
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Show the settings page
|
82 |
+
*
|
83 |
+
* @static
|
84 |
+
* @since 5.3
|
85 |
+
*/
|
86 |
+
public static function display_settings_page() {
|
87 |
+
?>
|
88 |
+
<div class="wrap">
|
89 |
+
<h2><?php _e( 'Bulk Delete Settings', 'bulk-delete' );?></h2>
|
90 |
+
<?php settings_errors(); ?>
|
91 |
+
|
92 |
+
<div id = "poststuff">
|
93 |
+
<div id="post-body" class="metabox-holder columns-2">
|
94 |
+
|
95 |
+
<div id="postbox-container-1" class="postbox-container">
|
96 |
+
<iframe frameBorder="0" height = "1300" src = "http://sudarmuthu.com/projects/wordpress/bulk-delete/sidebar.php?color=<?php echo get_user_option( 'admin_color' ); ?>&version=<?php echo Bulk_Delete::VERSION; ?>"></iframe>
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<div id="postbox-container-2" class="postbox-container">
|
100 |
+
<form method = "post" action="options.php">
|
101 |
+
<table class="form-table">
|
102 |
+
<?php
|
103 |
+
settings_fields( self::ADDON_SETTING_OPTION_GROUP );
|
104 |
+
do_settings_sections( self::SETTINGS_PAGE_SLUG );
|
105 |
+
?>
|
106 |
+
</table>
|
107 |
+
<?php submit_button(); ?>
|
108 |
+
</form>
|
109 |
+
</div> <!-- #postbox-container-2 -->
|
110 |
+
|
111 |
+
</div> <!-- #post-body -->
|
112 |
+
</div><!-- #poststuff -->
|
113 |
+
</div><!-- .wrap -->
|
114 |
+
<?php
|
115 |
+
/**
|
116 |
+
* Runs just before displaying the footer text in the "Bulk Delete Settings" admin page.
|
117 |
+
*
|
118 |
+
* This action is primarily for adding extra content in the footer of "Bulk Delete Settings" admin page.
|
119 |
+
*
|
120 |
+
* @since 5.3
|
121 |
+
*/
|
122 |
+
do_action( 'bd_admin_footer_settings_page' );
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
// Add menu
|
127 |
+
add_action( 'bd_before_secondary_menus', array( 'BD_Settings_Page' , 'add_menu' ) );
|
128 |
+
|
129 |
+
// Modify admin footer
|
130 |
+
add_action( 'bd_admin_footer_settings_page', 'bd_modify_admin_footer' );
|
131 |
+
?>
|
include/settings/setting-helpers.php
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Helper functions for settings API.
|
4 |
+
* Most of these functions are copied from Easy Digital Downloads
|
5 |
+
*
|
6 |
+
* @package Bulk_Delete
|
7 |
+
* @subpackage Settings
|
8 |
+
* @author Sudar
|
9 |
+
* @since 5.3
|
10 |
+
*/
|
11 |
+
/**
|
12 |
+
* Header Callback
|
13 |
+
*
|
14 |
+
* Renders the header.
|
15 |
+
*
|
16 |
+
* @since 5.3
|
17 |
+
* @param array $args Arguments passed by the setting
|
18 |
+
* @return void
|
19 |
+
*/
|
20 |
+
function bd_header_callback( $args ) {
|
21 |
+
echo '<hr/>';
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Text Callback
|
26 |
+
*
|
27 |
+
* Renders text fields.
|
28 |
+
*
|
29 |
+
* @since 5.3
|
30 |
+
* @param array $args Arguments passed by the setting
|
31 |
+
* @return void
|
32 |
+
*/
|
33 |
+
function bd_text_callback( $args ) {
|
34 |
+
$option_name = $args['option'];
|
35 |
+
$bd_options = get_option( $option_name );
|
36 |
+
|
37 |
+
if ( isset( $bd_options[ $args['id'] ] ) )
|
38 |
+
$value = $bd_options[ $args['id'] ];
|
39 |
+
else
|
40 |
+
$value = isset( $args['std'] ) ? $args['std'] : '';
|
41 |
+
|
42 |
+
$size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular';
|
43 |
+
$html = '<input type="text" class="' . $size . '-text" id="' . $option_name . '[' . $args['id'] . ']" name="' . $option_name . '[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '">';
|
44 |
+
$html .= '<label for="' . $option_name . '[' . $args['id'] . ']"> ' . $args['desc'] . '</label>';
|
45 |
+
|
46 |
+
echo $html;
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Rich Editor Callback
|
51 |
+
*
|
52 |
+
* Renders rich editor fields.
|
53 |
+
*
|
54 |
+
* @since 5.3
|
55 |
+
* @param array $args Arguments passed by the setting
|
56 |
+
*/
|
57 |
+
function bd_rich_editor_callback( $args ) {
|
58 |
+
$option_name = $args['option'];
|
59 |
+
$bd_options = get_option( $option_name );
|
60 |
+
|
61 |
+
if ( isset( $bd_options[ $args['id'] ] ) )
|
62 |
+
$value = $bd_options[ $args['id'] ];
|
63 |
+
else
|
64 |
+
$value = isset( $args['std'] ) ? $args['std'] : '';
|
65 |
+
|
66 |
+
ob_start();
|
67 |
+
wp_editor( stripslashes( $value ), $option_name . '_' . $args['id'], array( 'textarea_name' => $option_name . '[' . $args['id'] . ']', 'media_buttons' => FALSE ) );
|
68 |
+
$html = ob_get_clean();
|
69 |
+
|
70 |
+
$html .= '<br/><label for="' . $option_name . '[' . $args['id'] . ']"> ' . $args['desc'] . '</label>';
|
71 |
+
|
72 |
+
echo $html;
|
73 |
+
}
|
74 |
+
?>
|
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', '_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'
|
@@ -107,6 +107,9 @@ jQuery(document).ready(function () {
|
|
107 |
} else if (jQuery(this).val() === 'delete_posts_by_duplicate_title') {
|
108 |
// nothing to check for duplicate title
|
109 |
valid = true;
|
|
|
|
|
|
|
110 |
} else {
|
111 |
if (jQuery(this).parent().prev().children('table').find(":checkbox:checked[value!='true']").size() > 0) {
|
112 |
// monstrous selector
|
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', '_feedback'], function (index, value) {
|
51 |
// invoke the date time picker
|
52 |
jQuery('#smbd' + value + '_cron_start').datetimepicker({
|
53 |
timeFormat: 'HH:mm:ss'
|
107 |
} else if (jQuery(this).val() === 'delete_posts_by_duplicate_title') {
|
108 |
// nothing to check for duplicate title
|
109 |
valid = true;
|
110 |
+
} else if (jQuery(this).val() === 'delete_jetpack_messages') {
|
111 |
+
// nothing to check for jetpack messages
|
112 |
+
valid = true;
|
113 |
} else {
|
114 |
if (jQuery(this).parent().prev().children('table').find(":checkbox:checked[value!='true']").size() > 0) {
|
115 |
// monstrous selector
|
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.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
-
"POT-Creation-Date: 2014-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,144 +12,140 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: bulk-delete.php:
|
16 |
msgid "Cheatin’ huh?"
|
17 |
msgstr ""
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
#: bulk-delete.php:243
|
22 |
-
msgid "Bulk Delete"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: bulk-delete.php:
|
26 |
msgid "Bulk Delete Posts"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: bulk-delete.php:
|
30 |
msgid "Bulk Delete Pages"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: bulk-delete.php:
|
34 |
msgid "Bulk Delete Users"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: bulk-delete.php:
|
38 |
msgid "Bulk Delete Schedules"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: bulk-delete.php:
|
42 |
-
msgid "
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: bulk-delete.php:
|
46 |
msgid "Addon Licenses"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: bulk-delete.php:
|
50 |
msgid "Bulk Delete System Info"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: bulk-delete.php:
|
54 |
msgid "System Info"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: bulk-delete.php:
|
58 |
msgid "By Post Status"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: bulk-delete.php:
|
62 |
msgid "By Category"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: bulk-delete.php:
|
66 |
msgid "By Tag"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: bulk-delete.php:
|
70 |
msgid "By Custom Taxonomy"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: bulk-delete.php:
|
74 |
msgid "By Custom Post Types"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: bulk-delete.php:
|
78 |
msgid "By URL"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: bulk-delete.php:
|
82 |
msgid "By Post Revision"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: bulk-delete.php:
|
86 |
msgid "By Custom Field"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: bulk-delete.php:
|
90 |
msgid "By Title"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: bulk-delete.php:
|
94 |
msgid "By Duplicate Title"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: bulk-delete.php:
|
98 |
msgid "By User Role"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: bulk-delete.php:
|
102 |
msgid "Posts in Trash"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: bulk-delete.php:
|
106 |
msgid "By Page status"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: bulk-delete.php:
|
110 |
msgid "Pages in Trash"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: bulk-delete.php:
|
114 |
msgid "Are you sure you want to delete all the selected posts"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: bulk-delete.php:
|
118 |
msgid "Are you sure you want to delete all the selected users"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: bulk-delete.php:
|
122 |
msgid "Please select posts from at least one option"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: bulk-delete.php:
|
126 |
msgid "Please enter at least one page url"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: bulk-delete.php:
|
130 |
msgid "Please enter some value for custom field key"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: bulk-delete.php:
|
134 |
msgid "Please enter some value for title"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: bulk-delete.php:
|
138 |
msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: bulk-delete.php:
|
142 |
msgid "WARNING: Pages deleted once cannot be retrieved back. Use with caution."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: bulk-delete.php:
|
146 |
msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
|
147 |
msgstr ""
|
148 |
|
149 |
#: include/admin-ui.php:19
|
150 |
-
msgid ""
|
151 |
-
"Thank you for using <a href = \"%1$s\">Bulk Delete</a> plugin! Kindly <a "
|
152 |
-
"href = \"%2$s\">rate us</a> at <a href = \"%2$s\">WordPress.org</a>"
|
153 |
msgstr ""
|
154 |
|
155 |
#: include/admin-ui.php:72
|
@@ -173,9 +169,7 @@ msgid "The license key for \"%s\" addon was successfully deactivated"
|
|
173 |
msgstr ""
|
174 |
|
175 |
#: include/class-bd-license.php:195
|
176 |
-
msgid ""
|
177 |
-
"There was some problem while trying to deactivate license key for \"%s\" "
|
178 |
-
"addon. Kindly try again"
|
179 |
msgstr ""
|
180 |
|
181 |
#: include/class-bd-license.php:220
|
@@ -183,21 +177,15 @@ msgid "The license key was successfully deleted"
|
|
183 |
msgstr ""
|
184 |
|
185 |
#: include/class-bd-license.php:264
|
186 |
-
msgid ""
|
187 |
-
"There was some problem in contacting our store to activate the license key "
|
188 |
-
"for \"%s\" addon"
|
189 |
msgstr ""
|
190 |
|
191 |
#: include/class-bd-license.php:274
|
192 |
-
msgid ""
|
193 |
-
"The license key for \"%s\" addon was successfully activated. The addon will "
|
194 |
-
"get updates automatically till the license key is valid."
|
195 |
msgstr ""
|
196 |
|
197 |
#: include/class-bd-license.php:282
|
198 |
-
msgid ""
|
199 |
-
"The license key for \"%s\" addon doesn't have any more activations left. "
|
200 |
-
"Kindly buy a new license."
|
201 |
msgstr ""
|
202 |
|
203 |
#: include/class-bd-license.php:286
|
@@ -213,9 +201,7 @@ msgid "The license key for \"%s\" addon is invalid"
|
|
213 |
msgstr ""
|
214 |
|
215 |
#: include/class-bd-license.php:356
|
216 |
-
msgid ""
|
217 |
-
"The following are the list of pro addons that are currently available for "
|
218 |
-
"purchase."
|
219 |
msgstr ""
|
220 |
|
221 |
#: include/class-bd-license.php:362
|
@@ -232,6 +218,7 @@ msgstr ""
|
|
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 |
|
@@ -268,62 +255,74 @@ msgid "Adds the ability to delete posts and pages from trash"
|
|
268 |
msgstr ""
|
269 |
|
270 |
#: include/class-bd-license.php:392
|
271 |
-
msgid "
|
272 |
msgstr ""
|
273 |
|
274 |
#: include/class-bd-license.php:393
|
275 |
-
msgid "Adds the ability to
|
276 |
msgstr ""
|
277 |
|
278 |
#: include/class-bd-license.php:398
|
279 |
-
msgid "Scheduler
|
280 |
msgstr ""
|
281 |
|
282 |
#: include/class-bd-license.php:399
|
283 |
-
msgid "
|
284 |
msgstr ""
|
285 |
|
286 |
#: include/class-bd-license.php:404
|
287 |
-
msgid "Scheduler for deleting Posts by
|
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
|
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
|
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
|
316 |
msgstr ""
|
317 |
|
318 |
#: include/class-bd-license.php:423
|
319 |
-
msgid "Adds the ability to schedule auto delete
|
320 |
msgstr ""
|
321 |
|
322 |
#: include/class-bd-license.php:428
|
323 |
-
msgid "Scheduler for deleting
|
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 |
|
@@ -358,21 +357,15 @@ msgid "Overview"
|
|
358 |
msgstr ""
|
359 |
|
360 |
#: include/class-bulk-delete-help-screen.php:58
|
361 |
-
msgid ""
|
362 |
-
"This screen contains different modules that allows you to delete posts or "
|
363 |
-
"schedule them for deletion."
|
364 |
msgstr ""
|
365 |
|
366 |
#: include/class-bulk-delete-help-screen.php:70
|
367 |
-
msgid ""
|
368 |
-
"This screen contains different modules that allows you to delete pages or "
|
369 |
-
"schedule them for deletion."
|
370 |
msgstr ""
|
371 |
|
372 |
#: include/class-bulk-delete-help-screen.php:82
|
373 |
-
msgid ""
|
374 |
-
"This screen contains different modules that allows you to delete users or "
|
375 |
-
"schedule them for deletion."
|
376 |
msgstr ""
|
377 |
|
378 |
#: include/class-bulk-delete-help-screen.php:92
|
@@ -384,29 +377,26 @@ msgid "This plugin allows you to perform bulk operations in WordPress easily."
|
|
384 |
msgstr ""
|
385 |
|
386 |
#: include/class-bulk-delete-help-screen.php:116
|
387 |
-
msgid ""
|
388 |
-
"This plugin can be used to delete the posts, pages or users using various "
|
389 |
-
"filters and conditions."
|
390 |
msgstr ""
|
391 |
|
392 |
#: include/class-bulk-delete-pages.php:22
|
393 |
-
#: include/class-bulk-delete-pages.php:
|
394 |
#: include/class-bulk-delete-posts.php:17
|
395 |
#: include/class-bulk-delete-posts.php:302
|
396 |
-
#: include/class-bulk-delete-posts.php:
|
397 |
-
#: include/class-bulk-delete-posts.php:
|
398 |
-
#: include/class-bulk-delete-posts.php:
|
399 |
-
#: include/class-bulk-delete-posts.php:
|
400 |
-
#: include/class-bulk-delete-posts.php:
|
401 |
-
#: include/class-bulk-delete-posts.php:
|
402 |
-
#: include/class-bulk-delete-posts.php:
|
403 |
-
#: include/class-bulk-delete-posts.php:
|
404 |
-
#: include/class-bulk-delete-posts.php:
|
405 |
-
#: include/class-bulk-delete-posts.php:
|
406 |
#: include/class-bulk-delete-users.php:17
|
407 |
-
|
408 |
-
"This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the "
|
409 |
-
"page to fully enable it."
|
410 |
msgstr ""
|
411 |
|
412 |
#: include/class-bulk-delete-pages.php:34
|
@@ -444,11 +434,12 @@ msgstr ""
|
|
444 |
#: include/class-bulk-delete-pages.php:75
|
445 |
#: include/class-bulk-delete-posts.php:78
|
446 |
#: include/class-bulk-delete-posts.php:369
|
447 |
-
#: include/class-bulk-delete-posts.php:
|
448 |
-
#: include/class-bulk-delete-posts.php:
|
449 |
-
#: include/class-bulk-delete-posts.php:
|
450 |
-
#: include/class-bulk-delete-posts.php:
|
451 |
#: include/class-bulk-delete-users.php:41
|
|
|
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
|
@@ -463,9 +454,10 @@ msgstr ""
|
|
463 |
#: include/class-bulk-delete-pages.php:84
|
464 |
#: include/class-bulk-delete-posts.php:93
|
465 |
#: include/class-bulk-delete-posts.php:380
|
466 |
-
#: include/class-bulk-delete-posts.php:
|
467 |
-
#: include/class-bulk-delete-posts.php:
|
468 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
469 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:201
|
470 |
#: tmp_addon/bulk-delete-posts-by-title.php:117
|
471 |
msgid "older than"
|
@@ -474,9 +466,10 @@ msgstr ""
|
|
474 |
#: include/class-bulk-delete-pages.php:85
|
475 |
#: include/class-bulk-delete-posts.php:94
|
476 |
#: include/class-bulk-delete-posts.php:381
|
477 |
-
#: include/class-bulk-delete-posts.php:
|
478 |
-
#: include/class-bulk-delete-posts.php:
|
479 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
480 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:202
|
481 |
#: tmp_addon/bulk-delete-posts-by-title.php:118
|
482 |
msgid "posted within last"
|
@@ -485,10 +478,11 @@ msgstr ""
|
|
485 |
#: include/class-bulk-delete-pages.php:87
|
486 |
#: include/class-bulk-delete-posts.php:96
|
487 |
#: include/class-bulk-delete-posts.php:383
|
488 |
-
#: include/class-bulk-delete-posts.php:
|
489 |
-
#: include/class-bulk-delete-posts.php:
|
490 |
-
#: include/class-bulk-delete-posts.php:
|
491 |
#: include/class-bulk-delete-users.php:56
|
|
|
492 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:204
|
493 |
#: tmp_addon/bulk-delete-posts-by-title.php:120
|
494 |
msgid "days"
|
@@ -497,10 +491,11 @@ msgstr ""
|
|
497 |
#: include/class-bulk-delete-pages.php:93
|
498 |
#: include/class-bulk-delete-posts.php:102
|
499 |
#: include/class-bulk-delete-posts.php:389
|
500 |
-
#: include/class-bulk-delete-posts.php:
|
501 |
-
#: include/class-bulk-delete-posts.php:
|
502 |
-
#: include/class-bulk-delete-posts.php:
|
503 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
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
|
@@ -511,10 +506,11 @@ msgstr ""
|
|
511 |
#: include/class-bulk-delete-pages.php:94
|
512 |
#: include/class-bulk-delete-posts.php:103
|
513 |
#: include/class-bulk-delete-posts.php:390
|
514 |
-
#: include/class-bulk-delete-posts.php:
|
515 |
-
#: include/class-bulk-delete-posts.php:
|
516 |
-
#: include/class-bulk-delete-posts.php:
|
517 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
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
|
@@ -525,10 +521,11 @@ msgstr ""
|
|
525 |
#: include/class-bulk-delete-pages.php:101
|
526 |
#: include/class-bulk-delete-posts.php:110
|
527 |
#: include/class-bulk-delete-posts.php:406
|
528 |
-
#: include/class-bulk-delete-posts.php:
|
529 |
-
#: include/class-bulk-delete-posts.php:
|
530 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -540,17 +537,17 @@ msgid "pages."
|
|
540 |
msgstr ""
|
541 |
|
542 |
#: include/class-bulk-delete-pages.php:103
|
543 |
-
msgid ""
|
544 |
-
"Use this option if there are more than 1000 pages and the script timesout."
|
545 |
msgstr ""
|
546 |
|
547 |
#: include/class-bulk-delete-pages.php:109
|
548 |
#: include/class-bulk-delete-posts.php:118
|
549 |
#: include/class-bulk-delete-posts.php:414
|
550 |
-
#: include/class-bulk-delete-posts.php:
|
551 |
-
#: include/class-bulk-delete-posts.php:
|
552 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -561,10 +558,11 @@ msgstr ""
|
|
561 |
#: include/class-bulk-delete-pages.php:110
|
562 |
#: include/class-bulk-delete-posts.php:119
|
563 |
#: include/class-bulk-delete-posts.php:415
|
564 |
-
#: include/class-bulk-delete-posts.php:
|
565 |
-
#: include/class-bulk-delete-posts.php:
|
566 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -575,10 +573,11 @@ msgstr ""
|
|
575 |
#: include/class-bulk-delete-pages.php:111
|
576 |
#: include/class-bulk-delete-posts.php:120
|
577 |
#: include/class-bulk-delete-posts.php:416
|
578 |
-
#: include/class-bulk-delete-posts.php:
|
579 |
-
#: include/class-bulk-delete-posts.php:
|
580 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -589,10 +588,11 @@ msgstr ""
|
|
589 |
#: include/class-bulk-delete-pages.php:113
|
590 |
#: include/class-bulk-delete-posts.php:122
|
591 |
#: include/class-bulk-delete-posts.php:418
|
592 |
-
#: include/class-bulk-delete-posts.php:
|
593 |
-
#: include/class-bulk-delete-posts.php:
|
594 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -603,10 +603,12 @@ msgstr ""
|
|
603 |
#: include/class-bulk-delete-pages.php:123
|
604 |
#: include/class-bulk-delete-posts.php:132
|
605 |
#: include/class-bulk-delete-posts.php:428
|
606 |
-
#: include/class-bulk-delete-posts.php:
|
607 |
-
#: include/class-bulk-delete-posts.php:
|
608 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -617,14 +619,15 @@ msgstr ""
|
|
617 |
#: include/class-bulk-delete-pages.php:130
|
618 |
#: include/class-bulk-delete-posts.php:139
|
619 |
#: include/class-bulk-delete-posts.php:442
|
620 |
-
#: include/class-bulk-delete-posts.php:
|
621 |
-
#: include/class-bulk-delete-posts.php:
|
622 |
-
#: include/class-bulk-delete-posts.php:
|
623 |
-
#: include/class-bulk-delete-posts.php:
|
624 |
-
#: include/class-bulk-delete-posts.php:
|
625 |
#: include/class-bulk-delete-users.php:116
|
626 |
-
#:
|
627 |
-
#: tmp_addon/bulk-delete-from-trash.php:
|
|
|
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
|
@@ -639,10 +642,11 @@ msgstr ""
|
|
639 |
#: include/class-bulk-delete-pages.php:166
|
640 |
#: include/class-bulk-delete-posts.php:177
|
641 |
#: include/class-bulk-delete-posts.php:478
|
642 |
-
#: include/class-bulk-delete-posts.php:
|
643 |
-
#: include/class-bulk-delete-posts.php:
|
644 |
-
#: include/class-bulk-delete-posts.php:
|
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
|
@@ -656,12 +660,12 @@ msgid_plural "Deleted %d pages"
|
|
656 |
msgstr[0] ""
|
657 |
msgstr[1] ""
|
658 |
|
659 |
-
#: include/class-bulk-delete-pages.php:
|
660 |
msgid "You need \"Bulk Delete From Trash\" Addon, to delete pages in Trash."
|
661 |
msgstr ""
|
662 |
|
663 |
#: include/class-bulk-delete-posts.php:30
|
664 |
-
#: include/class-bulk-delete-posts.php:
|
665 |
msgid "Select the posts which you want to delete"
|
666 |
msgstr ""
|
667 |
|
@@ -675,8 +679,8 @@ msgstr ""
|
|
675 |
#: include/class-bulk-delete-posts.php:65
|
676 |
#: include/class-bulk-delete-posts.php:72
|
677 |
#: include/class-bulk-delete-posts.php:350
|
678 |
-
#: include/class-bulk-delete-posts.php:
|
679 |
-
#: include/class-bulk-delete-posts.php:
|
680 |
msgid "Posts"
|
681 |
msgstr ""
|
682 |
|
@@ -710,9 +714,10 @@ msgstr ""
|
|
710 |
|
711 |
#: include/class-bulk-delete-posts.php:91
|
712 |
#: include/class-bulk-delete-posts.php:378
|
713 |
-
#: include/class-bulk-delete-posts.php:
|
714 |
-
#: include/class-bulk-delete-posts.php:
|
715 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
716 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:199
|
717 |
#: tmp_addon/bulk-delete-posts-by-title.php:115
|
718 |
msgid "Only restrict to posts which are "
|
@@ -720,9 +725,10 @@ msgstr ""
|
|
720 |
|
721 |
#: include/class-bulk-delete-posts.php:111
|
722 |
#: include/class-bulk-delete-posts.php:407
|
723 |
-
#: include/class-bulk-delete-posts.php:
|
724 |
-
#: include/class-bulk-delete-posts.php:
|
725 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
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
|
@@ -731,13 +737,13 @@ msgstr ""
|
|
731 |
|
732 |
#: include/class-bulk-delete-posts.php:112
|
733 |
#: include/class-bulk-delete-posts.php:408
|
734 |
-
#: include/class-bulk-delete-posts.php:
|
735 |
-
#: include/class-bulk-delete-posts.php:
|
736 |
-
#: include/class-bulk-delete-posts.php:
|
|
|
737 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:229
|
738 |
#: tmp_addon/bulk-delete-posts-by-title.php:145
|
739 |
-
msgid ""
|
740 |
-
"Use this option if there are more than 1000 posts and the script timesout."
|
741 |
msgstr ""
|
742 |
|
743 |
#: include/class-bulk-delete-posts.php:176
|
@@ -759,9 +765,7 @@ msgid "Select the categories whose post you want to delete"
|
|
759 |
msgstr ""
|
760 |
|
761 |
#: include/class-bulk-delete-posts.php:334
|
762 |
-
msgid ""
|
763 |
-
"Note: The post count below for each category is the total number of posts in "
|
764 |
-
"that category, irrespective of post type"
|
765 |
msgstr ""
|
766 |
|
767 |
#: include/class-bulk-delete-posts.php:361
|
@@ -769,16 +773,16 @@ msgid "All Categories"
|
|
769 |
msgstr ""
|
770 |
|
771 |
#: include/class-bulk-delete-posts.php:396
|
772 |
-
#: include/class-bulk-delete-posts.php:
|
773 |
-
#: include/class-bulk-delete-posts.php:
|
774 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:217
|
775 |
#: tmp_addon/bulk-delete-posts-by-title.php:133
|
776 |
msgid "Public posts"
|
777 |
msgstr ""
|
778 |
|
779 |
#: include/class-bulk-delete-posts.php:397
|
780 |
-
#: include/class-bulk-delete-posts.php:
|
781 |
-
#: include/class-bulk-delete-posts.php:
|
782 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:218
|
783 |
#: tmp_addon/bulk-delete-posts-by-title.php:134
|
784 |
msgid "Private Posts"
|
@@ -803,135 +807,125 @@ msgid_plural "Deleted %d posts from the selected categories"
|
|
803 |
msgstr[0] ""
|
804 |
msgstr[1] ""
|
805 |
|
806 |
-
#: include/class-bulk-delete-posts.php:
|
807 |
msgid "Select the tags whose post you want to delete"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: include/class-bulk-delete-posts.php:
|
811 |
msgid "All Tags"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: include/class-bulk-delete-posts.php:
|
815 |
msgid "You don't have any posts assigned to tags in this blog."
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: include/class-bulk-delete-posts.php:
|
819 |
msgid "Posts from the selected tags are scheduled for deletion."
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: include/class-bulk-delete-posts.php:
|
823 |
msgid "Deleted %d post from the selected tags"
|
824 |
msgid_plural "Deleted %d posts from the selected tags"
|
825 |
msgstr[0] ""
|
826 |
msgstr[1] ""
|
827 |
|
828 |
-
#: include/class-bulk-delete-posts.php:
|
829 |
msgid "Select the post type whose taxonomy posts you want to delete"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: include/class-bulk-delete-posts.php:
|
833 |
msgid "Select the taxonomies whose post you want to delete"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: include/class-bulk-delete-posts.php:
|
837 |
-
msgid ""
|
838 |
-
"The selected taxonomy has the following terms. Select the terms whose post "
|
839 |
-
"you want to delete"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: include/class-bulk-delete-posts.php:
|
843 |
-
msgid ""
|
844 |
-
"Note: The post count below for each term is the total number of posts in "
|
845 |
-
"that term, irrespective of post type"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: include/class-bulk-delete-posts.php:
|
849 |
msgid "You don't have any posts assigned to custom taxonomies in this blog."
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: include/class-bulk-delete-posts.php:
|
853 |
msgid "Posts from the selected custom taxonomies are scheduled for deletion."
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: include/class-bulk-delete-posts.php:
|
857 |
msgid "Deleted %d post from the selected custom taxonomies"
|
858 |
msgid_plural "Deleted %d posts from the selected custom taxonomies"
|
859 |
msgstr[0] ""
|
860 |
msgstr[1] ""
|
861 |
|
862 |
-
#: include/class-bulk-delete-posts.php:
|
863 |
msgid "Select the custom post type whose post you want to delete"
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: include/class-bulk-delete-posts.php:
|
867 |
msgid "You don't have any posts assigned to custom post types in this blog."
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: include/class-bulk-delete-posts.php:
|
871 |
msgid "Posts from the selected custom post type are scheduled for deletion."
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: include/class-bulk-delete-posts.php:
|
875 |
msgid "Deleted %d post from the selected custom post type"
|
876 |
msgid_plural "Deleted %d posts from the selected custom post type"
|
877 |
msgstr[0] ""
|
878 |
msgstr[1] ""
|
879 |
|
880 |
-
#: include/class-bulk-delete-posts.php:
|
881 |
msgid "Delete posts and pages that have the following Permalink"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: include/class-bulk-delete-posts.php:
|
885 |
msgid "Enter one post url (not post ids) per line"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: include/class-bulk-delete-posts.php:
|
889 |
msgid "Deleted %d post with the specified urls"
|
890 |
msgid_plural "Deleted %d posts with the specified urls"
|
891 |
msgstr[0] ""
|
892 |
msgstr[1] ""
|
893 |
|
894 |
-
#: include/class-bulk-delete-posts.php:
|
895 |
msgid "All Revisions"
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: include/class-bulk-delete-posts.php:
|
899 |
msgid "Revisions"
|
900 |
msgstr ""
|
901 |
|
902 |
-
#: include/class-bulk-delete-posts.php:
|
903 |
msgid "Deleted %d post revision"
|
904 |
msgid_plural "Deleted %d post revisions"
|
905 |
msgstr[0] ""
|
906 |
msgstr[1] ""
|
907 |
|
908 |
-
#: include/class-bulk-delete-posts.php:
|
909 |
-
msgid ""
|
910 |
-
"You need \"Bulk Delete Posts by Custom Field\" Addon, to delete post by "
|
911 |
-
"custom field."
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: include/class-bulk-delete-posts.php:
|
915 |
msgid "You need \"Bulk Delete Posts by Title\" Addon, to delete post by title."
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: include/class-bulk-delete-posts.php:
|
919 |
-
msgid ""
|
920 |
-
"You need \"Bulk Delete Posts by Duplicate Title\" Addon, to delete post by "
|
921 |
-
"duplicate title."
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: include/class-bulk-delete-posts.php:
|
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:
|
931 |
msgid "You need \"Bulk Delete From Trash\" Addon, to delete post in Trash."
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: include/class-bulk-delete-posts.php:
|
935 |
msgid "The selected scheduled job was successfully deleted "
|
936 |
msgstr ""
|
937 |
|
@@ -939,10 +933,12 @@ msgstr ""
|
|
939 |
msgid "System Information"
|
940 |
msgstr ""
|
941 |
|
942 |
-
#: include/class-bulk-delete-system-info.php:
|
943 |
-
msgid ""
|
944 |
-
|
945 |
-
|
|
|
|
|
946 |
msgstr ""
|
947 |
|
948 |
#: include/class-bulk-delete-users.php:22
|
@@ -963,9 +959,7 @@ msgid "Need Simple Login Log Plugin"
|
|
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
|
@@ -973,8 +967,7 @@ 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
|
@@ -993,9 +986,7 @@ msgid "M j, Y @ G:i"
|
|
993 |
msgstr ""
|
994 |
|
995 |
#: include/class-cron-list-table.php:32
|
996 |
-
msgid ""
|
997 |
-
"This is the list of jobs that are currently scheduled for auto deleting "
|
998 |
-
"posts in Bulk Delete Plugin."
|
999 |
msgstr ""
|
1000 |
|
1001 |
#: include/class-cron-list-table.php:40
|
@@ -1003,13 +994,11 @@ msgid "Note: "
|
|
1003 |
msgstr ""
|
1004 |
|
1005 |
#: include/class-cron-list-table.php:42
|
1006 |
-
msgid ""
|
1007 |
-
"Scheduling auto post or user deletion is available only when you buy pro "
|
1008 |
-
"addons."
|
1009 |
msgstr ""
|
1010 |
|
1011 |
#: include/class-cron-list-table.php:55
|
1012 |
-
msgid "Next Due
|
1013 |
msgstr ""
|
1014 |
|
1015 |
#: include/class-cron-list-table.php:57
|
@@ -1030,9 +1019,7 @@ msgid "You have not scheduled any bulk delete jobs."
|
|
1030 |
msgstr ""
|
1031 |
|
1032 |
#: include/class-license-list-table.php:35
|
1033 |
-
msgid ""
|
1034 |
-
"This is the list of addon license that are currently registered with the "
|
1035 |
-
"plugin."
|
1036 |
msgstr ""
|
1037 |
|
1038 |
#: include/class-license-list-table.php:48
|
@@ -1063,48 +1050,140 @@ msgstr ""
|
|
1063 |
msgid "You don't have any valid addon license yet."
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1067 |
msgid "Select the post type whose posts you want to delete from trash"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: tmp_addon/bulk-delete-from-trash.php:
|
1071 |
msgid "Deleted %d post from trash"
|
1072 |
msgid_plural "Deleted %d posts from trash"
|
1073 |
msgstr[0] ""
|
1074 |
msgstr[1] ""
|
1075 |
|
1076 |
-
#: tmp_addon/bulk-delete-from-trash.php:
|
1077 |
msgid "Select the checkbox to delete pages from trash"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: tmp_addon/bulk-delete-from-trash.php:
|
1081 |
msgid "pages in Trash"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: tmp_addon/bulk-delete-from-trash.php:
|
1085 |
msgid "Deleted %d page from trash"
|
1086 |
msgid_plural "Deleted %d pages from trash"
|
1087 |
msgstr[0] ""
|
1088 |
msgstr[1] ""
|
1089 |
|
1090 |
-
#: tmp_addon/bulk-delete-from-trash.php:
|
|
|
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-
|
1096 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-
|
1097 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1098 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1099 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1100 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1101 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1102 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1103 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-
|
1104 |
-
#: tmp_addon/bulk-delete-scheduler-for-deleting-
|
1105 |
-
|
1106 |
-
"<strong>%s</strong> addon needs <a href=\"%s\">Bulk Delete plugin</a> to be "
|
1107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1108 |
msgstr ""
|
1109 |
|
1110 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:134
|
@@ -1172,8 +1251,7 @@ msgid "If you want to check for null values, then leave the value column blank"
|
|
1172 |
msgstr ""
|
1173 |
|
1174 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:304
|
1175 |
-
msgid ""
|
1176 |
-
"Posts matching the selected custom field setting are scheduled for deletion."
|
1177 |
msgstr ""
|
1178 |
|
1179 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:309
|
@@ -1215,9 +1293,7 @@ msgid "Sorry something went wrong. Kindly try again."
|
|
1215 |
msgstr ""
|
1216 |
|
1217 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:240
|
1218 |
-
msgid ""
|
1219 |
-
"Posts with duplicate title matching the selected settings are scheduled for "
|
1220 |
-
"deletion."
|
1221 |
msgstr ""
|
1222 |
|
1223 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:245
|
@@ -1272,8 +1348,7 @@ 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
|
@@ -1286,15 +1361,119 @@ 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 ""
|
1292 |
|
1293 |
#. Description of the plugin/theme
|
1294 |
-
msgid ""
|
1295 |
-
"Bulk delete users and posts from selected categories, tags, post types, "
|
1296 |
-
"custom taxonomies or by post status like drafts, scheduled posts, revisions "
|
1297 |
-
"etc."
|
1298 |
msgstr ""
|
1299 |
|
1300 |
#. 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 5.3\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bulk-delete\n"
|
7 |
+
"POT-Creation-Date: 2014-08-24 13:25:22+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:166 bulk-delete.php:178
|
16 |
msgid "Cheatin’ huh?"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: bulk-delete.php:254
|
20 |
+
msgid "Bulk WP"
|
|
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: bulk-delete.php:256 bulk-delete.php:466 include/admin-ui.php:52
|
24 |
msgid "Bulk Delete Posts"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: bulk-delete.php:257 bulk-delete.php:519
|
28 |
msgid "Bulk Delete Pages"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: bulk-delete.php:258 bulk-delete.php:570 include/admin-ui.php:49
|
32 |
msgid "Bulk Delete Users"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: bulk-delete.php:278 bulk-delete.php:633
|
36 |
msgid "Bulk Delete Schedules"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: bulk-delete.php:278
|
40 |
+
msgid "Scheduled Jobs"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: bulk-delete.php:279 include/class-bd-license.php:30
|
44 |
msgid "Addon Licenses"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: bulk-delete.php:280
|
48 |
msgid "Bulk Delete System Info"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: bulk-delete.php:280
|
52 |
msgid "System Info"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: bulk-delete.php:332
|
56 |
msgid "By Post Status"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: bulk-delete.php:333
|
60 |
msgid "By Category"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: bulk-delete.php:334
|
64 |
msgid "By Tag"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: bulk-delete.php:335
|
68 |
msgid "By Custom Taxonomy"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: bulk-delete.php:336
|
72 |
msgid "By Custom Post Types"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: bulk-delete.php:337
|
76 |
msgid "By URL"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: bulk-delete.php:338
|
80 |
msgid "By Post Revision"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: bulk-delete.php:339
|
84 |
msgid "By Custom Field"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: bulk-delete.php:340
|
88 |
msgid "By Title"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: bulk-delete.php:341
|
92 |
msgid "By Duplicate Title"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: bulk-delete.php:342 bulk-delete.php:416
|
96 |
msgid "By User Role"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: bulk-delete.php:343 tmp_addon/bulk-delete-from-trash.php:115
|
100 |
msgid "Posts in Trash"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: bulk-delete.php:381
|
104 |
msgid "By Page status"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: bulk-delete.php:382
|
108 |
msgid "Pages in Trash"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: bulk-delete.php:445
|
112 |
msgid "Are you sure you want to delete all the selected posts"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: bulk-delete.php:446
|
116 |
msgid "Are you sure you want to delete all the selected users"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: bulk-delete.php:450
|
120 |
msgid "Please select posts from at least one option"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: bulk-delete.php:451
|
124 |
msgid "Please enter at least one page url"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: bulk-delete.php:452
|
128 |
msgid "Please enter some value for custom field key"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: bulk-delete.php:453
|
132 |
msgid "Please enter some value for title"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: bulk-delete.php:483 include/misc/class-bulk-delete-misc.php:112
|
136 |
msgid "WARNING: Posts deleted once cannot be retrieved back. Use with caution."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: bulk-delete.php:536
|
140 |
msgid "WARNING: Pages deleted once cannot be retrieved back. Use with caution."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: bulk-delete.php:587
|
144 |
msgid "WARNING: Users deleted once cannot be retrieved back. Use with caution."
|
145 |
msgstr ""
|
146 |
|
147 |
#: include/admin-ui.php:19
|
148 |
+
msgid "Thank you for using <a href = \"%1$s\">Bulk Delete</a> plugin! Kindly <a href = \"%2$s\">rate us</a> at <a href = \"%2$s\">WordPress.org</a>"
|
|
|
|
|
149 |
msgstr ""
|
150 |
|
151 |
#: include/admin-ui.php:72
|
169 |
msgstr ""
|
170 |
|
171 |
#: include/class-bd-license.php:195
|
172 |
+
msgid "There was some problem while trying to deactivate license key for \"%s\" addon. Kindly try again"
|
|
|
|
|
173 |
msgstr ""
|
174 |
|
175 |
#: include/class-bd-license.php:220
|
177 |
msgstr ""
|
178 |
|
179 |
#: include/class-bd-license.php:264
|
180 |
+
msgid "There was some problem in contacting our store to activate the license key for \"%s\" addon"
|
|
|
|
|
181 |
msgstr ""
|
182 |
|
183 |
#: include/class-bd-license.php:274
|
184 |
+
msgid "The license key for \"%s\" addon was successfully activated. The addon will get updates automatically till the license key is valid."
|
|
|
|
|
185 |
msgstr ""
|
186 |
|
187 |
#: include/class-bd-license.php:282
|
188 |
+
msgid "The license key for \"%s\" addon doesn't have any more activations left. Kindly buy a new license."
|
|
|
|
|
189 |
msgstr ""
|
190 |
|
191 |
#: include/class-bd-license.php:286
|
201 |
msgstr ""
|
202 |
|
203 |
#: include/class-bd-license.php:356
|
204 |
+
msgid "The following are the list of pro addons that are currently available for purchase."
|
|
|
|
|
205 |
msgstr ""
|
206 |
|
207 |
#: include/class-bd-license.php:362
|
218 |
#: include/class-bd-license.php:400 include/class-bd-license.php:406
|
219 |
#: include/class-bd-license.php:412 include/class-bd-license.php:418
|
220 |
#: include/class-bd-license.php:424 include/class-bd-license.php:430
|
221 |
+
#: include/class-bd-license.php:436 include/class-bd-license.php:442
|
222 |
msgid "More Info"
|
223 |
msgstr ""
|
224 |
|
255 |
msgstr ""
|
256 |
|
257 |
#: include/class-bd-license.php:392
|
258 |
+
msgid "Delete Jetpack Contact Form Messages"
|
259 |
msgstr ""
|
260 |
|
261 |
#: include/class-bd-license.php:393
|
262 |
+
msgid "Adds the ability to delete Jetpack Contact Form Messages based on filters and to schedule automatic deletion"
|
263 |
msgstr ""
|
264 |
|
265 |
#: include/class-bd-license.php:398
|
266 |
+
msgid "Scheduler Email"
|
267 |
msgstr ""
|
268 |
|
269 |
#: include/class-bd-license.php:399
|
270 |
+
msgid "Sends an email every time a Bulk WP scheduler runs"
|
271 |
msgstr ""
|
272 |
|
273 |
#: include/class-bd-license.php:404
|
274 |
+
msgid "Scheduler for deleting Posts by Category"
|
275 |
msgstr ""
|
276 |
|
277 |
#: include/class-bd-license.php:405
|
278 |
+
msgid "Adds the ability to schedule auto delete of posts based on category"
|
|
|
279 |
msgstr ""
|
280 |
|
281 |
#: include/class-bd-license.php:410
|
282 |
+
msgid "Scheduler for deleting Posts by Tag"
|
283 |
msgstr ""
|
284 |
|
285 |
#: include/class-bd-license.php:411
|
286 |
+
msgid "Adds the ability to schedule auto delete of posts based on tag"
|
|
|
287 |
msgstr ""
|
288 |
|
289 |
#: include/class-bd-license.php:416
|
290 |
+
msgid "Scheduler for deleting Posts by Custom Taxonomy"
|
291 |
msgstr ""
|
292 |
|
293 |
#: include/class-bd-license.php:417
|
294 |
+
msgid "Adds the ability to schedule auto delete of posts based on custom taxonomy"
|
|
|
|
|
295 |
msgstr ""
|
296 |
|
297 |
#: include/class-bd-license.php:422
|
298 |
+
msgid "Scheduler for deleting Posts by Custom Post Type"
|
299 |
msgstr ""
|
300 |
|
301 |
#: include/class-bd-license.php:423
|
302 |
+
msgid "Adds the ability to schedule auto delete of posts based on custom post type"
|
303 |
msgstr ""
|
304 |
|
305 |
#: include/class-bd-license.php:428
|
306 |
+
msgid "Scheduler for deleting Posts by Post Status"
|
307 |
msgstr ""
|
308 |
|
309 |
#: include/class-bd-license.php:429
|
310 |
+
msgid "Adds the ability to schedule auto delete of posts based on post status like drafts, pending posts, scheduled posts etc."
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: include/class-bd-license.php:434
|
314 |
+
msgid "Scheduler for deleting Pages by Status"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: include/class-bd-license.php:435
|
318 |
+
msgid "Adds the ability to schedule auto delete pages based on status"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: include/class-bd-license.php:440
|
322 |
+
msgid "Scheduler for deleting Users by User Role"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: include/class-bd-license.php:441
|
326 |
msgid "Adds the ability to schedule auto delete of users based on user role"
|
327 |
msgstr ""
|
328 |
|
357 |
msgstr ""
|
358 |
|
359 |
#: include/class-bulk-delete-help-screen.php:58
|
360 |
+
msgid "This screen contains different modules that allows you to delete posts or schedule them for deletion."
|
|
|
|
|
361 |
msgstr ""
|
362 |
|
363 |
#: include/class-bulk-delete-help-screen.php:70
|
364 |
+
msgid "This screen contains different modules that allows you to delete pages or schedule them for deletion."
|
|
|
|
|
365 |
msgstr ""
|
366 |
|
367 |
#: include/class-bulk-delete-help-screen.php:82
|
368 |
+
msgid "This screen contains different modules that allows you to delete users or schedule them for deletion."
|
|
|
|
|
369 |
msgstr ""
|
370 |
|
371 |
#: include/class-bulk-delete-help-screen.php:92
|
377 |
msgstr ""
|
378 |
|
379 |
#: include/class-bulk-delete-help-screen.php:116
|
380 |
+
msgid "This plugin can be used to delete the posts, pages or users using various filters and conditions."
|
|
|
|
|
381 |
msgstr ""
|
382 |
|
383 |
#: include/class-bulk-delete-pages.php:22
|
384 |
+
#: include/class-bulk-delete-pages.php:261
|
385 |
#: include/class-bulk-delete-posts.php:17
|
386 |
#: include/class-bulk-delete-posts.php:302
|
387 |
+
#: include/class-bulk-delete-posts.php:565
|
388 |
+
#: include/class-bulk-delete-posts.php:782
|
389 |
+
#: include/class-bulk-delete-posts.php:1082
|
390 |
+
#: include/class-bulk-delete-posts.php:1326
|
391 |
+
#: include/class-bulk-delete-posts.php:1410
|
392 |
+
#: include/class-bulk-delete-posts.php:1491
|
393 |
+
#: include/class-bulk-delete-posts.php:1520
|
394 |
+
#: include/class-bulk-delete-posts.php:1550
|
395 |
+
#: include/class-bulk-delete-posts.php:1579
|
396 |
+
#: include/class-bulk-delete-posts.php:1606
|
397 |
#: include/class-bulk-delete-users.php:17
|
398 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:44
|
399 |
+
msgid "This section just got enabled. Kindly <a href = \"%1$s\">refresh</a> the page to fully enable it."
|
|
|
400 |
msgstr ""
|
401 |
|
402 |
#: include/class-bulk-delete-pages.php:34
|
434 |
#: include/class-bulk-delete-pages.php:75
|
435 |
#: include/class-bulk-delete-posts.php:78
|
436 |
#: include/class-bulk-delete-posts.php:369
|
437 |
+
#: include/class-bulk-delete-posts.php:602
|
438 |
+
#: include/class-bulk-delete-posts.php:878
|
439 |
+
#: include/class-bulk-delete-posts.php:1137
|
440 |
+
#: include/class-bulk-delete-posts.php:1345
|
441 |
#: include/class-bulk-delete-users.php:41
|
442 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:123
|
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
|
454 |
#: include/class-bulk-delete-pages.php:84
|
455 |
#: include/class-bulk-delete-posts.php:93
|
456 |
#: include/class-bulk-delete-posts.php:380
|
457 |
+
#: include/class-bulk-delete-posts.php:613
|
458 |
+
#: include/class-bulk-delete-posts.php:889
|
459 |
+
#: include/class-bulk-delete-posts.php:1148
|
460 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:106
|
461 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:201
|
462 |
#: tmp_addon/bulk-delete-posts-by-title.php:117
|
463 |
msgid "older than"
|
466 |
#: include/class-bulk-delete-pages.php:85
|
467 |
#: include/class-bulk-delete-posts.php:94
|
468 |
#: include/class-bulk-delete-posts.php:381
|
469 |
+
#: include/class-bulk-delete-posts.php:614
|
470 |
+
#: include/class-bulk-delete-posts.php:890
|
471 |
+
#: include/class-bulk-delete-posts.php:1149
|
472 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:107
|
473 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:202
|
474 |
#: tmp_addon/bulk-delete-posts-by-title.php:118
|
475 |
msgid "posted within last"
|
478 |
#: include/class-bulk-delete-pages.php:87
|
479 |
#: include/class-bulk-delete-posts.php:96
|
480 |
#: include/class-bulk-delete-posts.php:383
|
481 |
+
#: include/class-bulk-delete-posts.php:616
|
482 |
+
#: include/class-bulk-delete-posts.php:892
|
483 |
+
#: include/class-bulk-delete-posts.php:1151
|
484 |
#: include/class-bulk-delete-users.php:56
|
485 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:109
|
486 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:204
|
487 |
#: tmp_addon/bulk-delete-posts-by-title.php:120
|
488 |
msgid "days"
|
491 |
#: include/class-bulk-delete-pages.php:93
|
492 |
#: include/class-bulk-delete-posts.php:102
|
493 |
#: include/class-bulk-delete-posts.php:389
|
494 |
+
#: include/class-bulk-delete-posts.php:622
|
495 |
+
#: include/class-bulk-delete-posts.php:898
|
496 |
+
#: include/class-bulk-delete-posts.php:1157
|
497 |
+
#: include/class-bulk-delete-posts.php:1351
|
498 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:132
|
499 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:210
|
500 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:161
|
501 |
#: tmp_addon/bulk-delete-posts-by-title.php:126
|
506 |
#: include/class-bulk-delete-pages.php:94
|
507 |
#: include/class-bulk-delete-posts.php:103
|
508 |
#: include/class-bulk-delete-posts.php:390
|
509 |
+
#: include/class-bulk-delete-posts.php:623
|
510 |
+
#: include/class-bulk-delete-posts.php:899
|
511 |
+
#: include/class-bulk-delete-posts.php:1158
|
512 |
+
#: include/class-bulk-delete-posts.php:1352
|
513 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:133
|
514 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:211
|
515 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:162
|
516 |
#: tmp_addon/bulk-delete-posts-by-title.php:127
|
521 |
#: include/class-bulk-delete-pages.php:101
|
522 |
#: include/class-bulk-delete-posts.php:110
|
523 |
#: include/class-bulk-delete-posts.php:406
|
524 |
+
#: include/class-bulk-delete-posts.php:639
|
525 |
+
#: include/class-bulk-delete-posts.php:915
|
526 |
+
#: include/class-bulk-delete-posts.php:1167
|
527 |
#: include/class-bulk-delete-users.php:79
|
528 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:118
|
529 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:227
|
530 |
#: tmp_addon/bulk-delete-posts-by-title.php:143
|
531 |
#: tmp_addon/bulk-delete-posts-by-user-role.php:138
|
537 |
msgstr ""
|
538 |
|
539 |
#: include/class-bulk-delete-pages.php:103
|
540 |
+
msgid "Use this option if there are more than 1000 pages and the script timesout."
|
|
|
541 |
msgstr ""
|
542 |
|
543 |
#: include/class-bulk-delete-pages.php:109
|
544 |
#: include/class-bulk-delete-posts.php:118
|
545 |
#: include/class-bulk-delete-posts.php:414
|
546 |
+
#: include/class-bulk-delete-posts.php:647
|
547 |
+
#: include/class-bulk-delete-posts.php:923
|
548 |
+
#: include/class-bulk-delete-posts.php:1175
|
549 |
#: include/class-bulk-delete-users.php:88
|
550 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:139
|
551 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:235
|
552 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:168
|
553 |
#: tmp_addon/bulk-delete-posts-by-title.php:151
|
558 |
#: include/class-bulk-delete-pages.php:110
|
559 |
#: include/class-bulk-delete-posts.php:119
|
560 |
#: include/class-bulk-delete-posts.php:415
|
561 |
+
#: include/class-bulk-delete-posts.php:648
|
562 |
+
#: include/class-bulk-delete-posts.php:924
|
563 |
+
#: include/class-bulk-delete-posts.php:1176
|
564 |
#: include/class-bulk-delete-users.php:89 include/class-cron-list-table.php:56
|
565 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:140
|
566 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:236
|
567 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:169
|
568 |
#: tmp_addon/bulk-delete-posts-by-title.php:152
|
573 |
#: include/class-bulk-delete-pages.php:111
|
574 |
#: include/class-bulk-delete-posts.php:120
|
575 |
#: include/class-bulk-delete-posts.php:416
|
576 |
+
#: include/class-bulk-delete-posts.php:649
|
577 |
+
#: include/class-bulk-delete-posts.php:925
|
578 |
+
#: include/class-bulk-delete-posts.php:1177
|
579 |
#: include/class-bulk-delete-users.php:90
|
580 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:141
|
581 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:237
|
582 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:170
|
583 |
#: tmp_addon/bulk-delete-posts-by-title.php:153
|
588 |
#: include/class-bulk-delete-pages.php:113
|
589 |
#: include/class-bulk-delete-posts.php:122
|
590 |
#: include/class-bulk-delete-posts.php:418
|
591 |
+
#: include/class-bulk-delete-posts.php:651
|
592 |
+
#: include/class-bulk-delete-posts.php:927
|
593 |
+
#: include/class-bulk-delete-posts.php:1179
|
594 |
#: include/class-bulk-delete-users.php:92
|
595 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:143
|
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
|
603 |
#: include/class-bulk-delete-pages.php:123
|
604 |
#: include/class-bulk-delete-posts.php:132
|
605 |
#: include/class-bulk-delete-posts.php:428
|
606 |
+
#: include/class-bulk-delete-posts.php:661
|
607 |
+
#: include/class-bulk-delete-posts.php:937
|
608 |
+
#: include/class-bulk-delete-posts.php:1189
|
609 |
#: include/class-bulk-delete-users.php:102
|
610 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:79
|
611 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:153
|
612 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:249
|
613 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:182
|
614 |
#: tmp_addon/bulk-delete-posts-by-title.php:165
|
619 |
#: include/class-bulk-delete-pages.php:130
|
620 |
#: include/class-bulk-delete-posts.php:139
|
621 |
#: include/class-bulk-delete-posts.php:442
|
622 |
+
#: include/class-bulk-delete-posts.php:668
|
623 |
+
#: include/class-bulk-delete-posts.php:944
|
624 |
+
#: include/class-bulk-delete-posts.php:1196
|
625 |
+
#: include/class-bulk-delete-posts.php:1360
|
626 |
+
#: include/class-bulk-delete-posts.php:1434
|
627 |
#: include/class-bulk-delete-users.php:116
|
628 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:160
|
629 |
+
#: tmp_addon/bulk-delete-from-trash.php:125
|
630 |
+
#: tmp_addon/bulk-delete-from-trash.php:209
|
631 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:263
|
632 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:196
|
633 |
#: tmp_addon/bulk-delete-posts-by-title.php:179
|
642 |
#: include/class-bulk-delete-pages.php:166
|
643 |
#: include/class-bulk-delete-posts.php:177
|
644 |
#: include/class-bulk-delete-posts.php:478
|
645 |
+
#: include/class-bulk-delete-posts.php:707
|
646 |
+
#: include/class-bulk-delete-posts.php:985
|
647 |
+
#: include/class-bulk-delete-posts.php:1236
|
648 |
#: include/class-bulk-delete-users.php:149
|
649 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:203
|
650 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:305
|
651 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:241
|
652 |
#: tmp_addon/bulk-delete-posts-by-title.php:216
|
660 |
msgstr[0] ""
|
661 |
msgstr[1] ""
|
662 |
|
663 |
+
#: include/class-bulk-delete-pages.php:270
|
664 |
msgid "You need \"Bulk Delete From Trash\" Addon, to delete pages in Trash."
|
665 |
msgstr ""
|
666 |
|
667 |
#: include/class-bulk-delete-posts.php:30
|
668 |
+
#: include/class-bulk-delete-posts.php:1419
|
669 |
msgid "Select the posts which you want to delete"
|
670 |
msgstr ""
|
671 |
|
679 |
#: include/class-bulk-delete-posts.php:65
|
680 |
#: include/class-bulk-delete-posts.php:72
|
681 |
#: include/class-bulk-delete-posts.php:350
|
682 |
+
#: include/class-bulk-delete-posts.php:585
|
683 |
+
#: include/class-bulk-delete-posts.php:865
|
684 |
msgid "Posts"
|
685 |
msgstr ""
|
686 |
|
714 |
|
715 |
#: include/class-bulk-delete-posts.php:91
|
716 |
#: include/class-bulk-delete-posts.php:378
|
717 |
+
#: include/class-bulk-delete-posts.php:611
|
718 |
+
#: include/class-bulk-delete-posts.php:887
|
719 |
+
#: include/class-bulk-delete-posts.php:1146
|
720 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:104
|
721 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:199
|
722 |
#: tmp_addon/bulk-delete-posts-by-title.php:115
|
723 |
msgid "Only restrict to posts which are "
|
725 |
|
726 |
#: include/class-bulk-delete-posts.php:111
|
727 |
#: include/class-bulk-delete-posts.php:407
|
728 |
+
#: include/class-bulk-delete-posts.php:640
|
729 |
+
#: include/class-bulk-delete-posts.php:916
|
730 |
+
#: include/class-bulk-delete-posts.php:1168
|
731 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:119
|
732 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:228
|
733 |
#: tmp_addon/bulk-delete-posts-by-title.php:144
|
734 |
#: tmp_addon/bulk-delete-posts-by-user-role.php:140
|
737 |
|
738 |
#: include/class-bulk-delete-posts.php:112
|
739 |
#: include/class-bulk-delete-posts.php:408
|
740 |
+
#: include/class-bulk-delete-posts.php:641
|
741 |
+
#: include/class-bulk-delete-posts.php:917
|
742 |
+
#: include/class-bulk-delete-posts.php:1169
|
743 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:120
|
744 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:229
|
745 |
#: tmp_addon/bulk-delete-posts-by-title.php:145
|
746 |
+
msgid "Use this option if there are more than 1000 posts and the script timesout."
|
|
|
747 |
msgstr ""
|
748 |
|
749 |
#: include/class-bulk-delete-posts.php:176
|
765 |
msgstr ""
|
766 |
|
767 |
#: include/class-bulk-delete-posts.php:334
|
768 |
+
msgid "Note: The post count below for each category is the total number of posts in that category, irrespective of post type"
|
|
|
|
|
769 |
msgstr ""
|
770 |
|
771 |
#: include/class-bulk-delete-posts.php:361
|
773 |
msgstr ""
|
774 |
|
775 |
#: include/class-bulk-delete-posts.php:396
|
776 |
+
#: include/class-bulk-delete-posts.php:629
|
777 |
+
#: include/class-bulk-delete-posts.php:905
|
778 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:217
|
779 |
#: tmp_addon/bulk-delete-posts-by-title.php:133
|
780 |
msgid "Public posts"
|
781 |
msgstr ""
|
782 |
|
783 |
#: include/class-bulk-delete-posts.php:397
|
784 |
+
#: include/class-bulk-delete-posts.php:630
|
785 |
+
#: include/class-bulk-delete-posts.php:906
|
786 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:218
|
787 |
#: tmp_addon/bulk-delete-posts-by-title.php:134
|
788 |
msgid "Private Posts"
|
807 |
msgstr[0] ""
|
808 |
msgstr[1] ""
|
809 |
|
810 |
+
#: include/class-bulk-delete-posts.php:572
|
811 |
msgid "Select the tags whose post you want to delete"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: include/class-bulk-delete-posts.php:596
|
815 |
msgid "All Tags"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: include/class-bulk-delete-posts.php:674
|
819 |
msgid "You don't have any posts assigned to tags in this blog."
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: include/class-bulk-delete-posts.php:706
|
823 |
msgid "Posts from the selected tags are scheduled for deletion."
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: include/class-bulk-delete-posts.php:710
|
827 |
msgid "Deleted %d post from the selected tags"
|
828 |
msgid_plural "Deleted %d posts from the selected tags"
|
829 |
msgstr[0] ""
|
830 |
msgstr[1] ""
|
831 |
|
832 |
+
#: include/class-bulk-delete-posts.php:812
|
833 |
msgid "Select the post type whose taxonomy posts you want to delete"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: include/class-bulk-delete-posts.php:832
|
837 |
msgid "Select the taxonomies whose post you want to delete"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: include/class-bulk-delete-posts.php:851
|
841 |
+
msgid "The selected taxonomy has the following terms. Select the terms whose post you want to delete"
|
|
|
|
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: include/class-bulk-delete-posts.php:852
|
845 |
+
msgid "Note: The post count below for each term is the total number of posts in that term, irrespective of post type"
|
|
|
|
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: include/class-bulk-delete-posts.php:950
|
849 |
msgid "You don't have any posts assigned to custom taxonomies in this blog."
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: include/class-bulk-delete-posts.php:984
|
853 |
msgid "Posts from the selected custom taxonomies are scheduled for deletion."
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: include/class-bulk-delete-posts.php:988
|
857 |
msgid "Deleted %d post from the selected custom taxonomies"
|
858 |
msgid_plural "Deleted %d posts from the selected custom taxonomies"
|
859 |
msgstr[0] ""
|
860 |
msgstr[1] ""
|
861 |
|
862 |
+
#: include/class-bulk-delete-posts.php:1117
|
863 |
msgid "Select the custom post type whose post you want to delete"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: include/class-bulk-delete-posts.php:1202
|
867 |
msgid "You don't have any posts assigned to custom post types in this blog."
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: include/class-bulk-delete-posts.php:1235
|
871 |
msgid "Posts from the selected custom post type are scheduled for deletion."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: include/class-bulk-delete-posts.php:1239
|
875 |
msgid "Deleted %d post from the selected custom post type"
|
876 |
msgid_plural "Deleted %d posts from the selected custom post type"
|
877 |
msgstr[0] ""
|
878 |
msgstr[1] ""
|
879 |
|
880 |
+
#: include/class-bulk-delete-posts.php:1331
|
881 |
msgid "Delete posts and pages that have the following Permalink"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: include/class-bulk-delete-posts.php:1337
|
885 |
msgid "Enter one post url (not post ids) per line"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: include/class-bulk-delete-posts.php:1392
|
889 |
msgid "Deleted %d post with the specified urls"
|
890 |
msgid_plural "Deleted %d posts with the specified urls"
|
891 |
msgstr[0] ""
|
892 |
msgstr[1] ""
|
893 |
|
894 |
+
#: include/class-bulk-delete-posts.php:1426
|
895 |
msgid "All Revisions"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: include/class-bulk-delete-posts.php:1426
|
899 |
msgid "Revisions"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: include/class-bulk-delete-posts.php:1450
|
903 |
msgid "Deleted %d post revision"
|
904 |
msgid_plural "Deleted %d post revisions"
|
905 |
msgstr[0] ""
|
906 |
msgstr[1] ""
|
907 |
|
908 |
+
#: include/class-bulk-delete-posts.php:1500
|
909 |
+
msgid "You need \"Bulk Delete Posts by Custom Field\" Addon, to delete post by custom field."
|
|
|
|
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: include/class-bulk-delete-posts.php:1529
|
913 |
msgid "You need \"Bulk Delete Posts by Title\" Addon, to delete post by title."
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: include/class-bulk-delete-posts.php:1559
|
917 |
+
msgid "You need \"Bulk Delete Posts by Duplicate Title\" Addon, to delete post by duplicate title."
|
|
|
|
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: include/class-bulk-delete-posts.php:1587
|
921 |
+
msgid "You need \"Bulk Delete Posts by User Role\" Addon, to delete post based on User Role"
|
|
|
|
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: include/class-bulk-delete-posts.php:1615
|
925 |
msgid "You need \"Bulk Delete From Trash\" Addon, to delete post in Trash."
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: include/class-bulk-delete-posts.php:1640
|
929 |
msgid "The selected scheduled job was successfully deleted "
|
930 |
msgstr ""
|
931 |
|
933 |
msgid "System Information"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: include/class-bulk-delete-system-info.php:68
|
937 |
+
msgid "Please include this information when posting support requests."
|
938 |
+
msgstr ""
|
939 |
+
|
940 |
+
#: include/class-bulk-delete-system-info.php:78
|
941 |
+
msgid "To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac)."
|
942 |
msgstr ""
|
943 |
|
944 |
#: include/class-bulk-delete-users.php:22
|
959 |
msgstr ""
|
960 |
|
961 |
#: include/class-bulk-delete-users.php:72
|
962 |
+
msgid "Only if user doesn't have any post. Only posts from 'post' post type would be considered."
|
|
|
|
|
963 |
msgstr ""
|
964 |
|
965 |
#: include/class-bulk-delete-users.php:81
|
967 |
msgstr ""
|
968 |
|
969 |
#: include/class-bulk-delete-users.php:82
|
970 |
+
msgid "Use this option if there are more than 1000 users or the script timesout."
|
|
|
971 |
msgstr ""
|
972 |
|
973 |
#: include/class-bulk-delete-users.php:148
|
986 |
msgstr ""
|
987 |
|
988 |
#: include/class-cron-list-table.php:32
|
989 |
+
msgid "This is the list of jobs that are currently scheduled for auto deleting posts in Bulk Delete Plugin."
|
|
|
|
|
990 |
msgstr ""
|
991 |
|
992 |
#: include/class-cron-list-table.php:40
|
994 |
msgstr ""
|
995 |
|
996 |
#: include/class-cron-list-table.php:42
|
997 |
+
msgid "Scheduling auto post or user deletion is available only when you buy pro addons."
|
|
|
|
|
998 |
msgstr ""
|
999 |
|
1000 |
#: include/class-cron-list-table.php:55
|
1001 |
+
msgid "Next Due"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
#: include/class-cron-list-table.php:57
|
1019 |
msgstr ""
|
1020 |
|
1021 |
#: include/class-license-list-table.php:35
|
1022 |
+
msgid "This is the list of addon license that are currently registered with the plugin."
|
|
|
|
|
1023 |
msgstr ""
|
1024 |
|
1025 |
#: include/class-license-list-table.php:48
|
1050 |
msgid "You don't have any valid addon license yet."
|
1051 |
msgstr ""
|
1052 |
|
1053 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:29
|
1054 |
+
msgid "Bulk Delete Jetpack Contact Form Messages"
|
1055 |
+
msgstr ""
|
1056 |
+
|
1057 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:53
|
1058 |
+
msgid "Jetpack contact form is not enabled."
|
1059 |
+
msgstr ""
|
1060 |
+
|
1061 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:69
|
1062 |
+
msgid "Delete all Contact Form Messages"
|
1063 |
+
msgstr ""
|
1064 |
+
|
1065 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:69
|
1066 |
+
msgid "in total"
|
1067 |
+
msgstr ""
|
1068 |
+
|
1069 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:78
|
1070 |
+
msgid "Delete Messages based on filters"
|
1071 |
+
msgstr ""
|
1072 |
+
|
1073 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:95
|
1074 |
+
msgid "Choose your date options"
|
1075 |
+
msgstr ""
|
1076 |
+
|
1077 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:126
|
1078 |
+
msgid "Choose your deletion options"
|
1079 |
+
msgstr ""
|
1080 |
+
|
1081 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:202
|
1082 |
+
msgid "Jetpack contact form messages with the selected criteria are scheduled for deletion."
|
1083 |
+
msgstr ""
|
1084 |
+
|
1085 |
+
#: include/misc/class-bulk-delete-jetpack-contact-form-messages.php:206
|
1086 |
+
msgid "Deleted %d Jetpack contact form message"
|
1087 |
+
msgid_plural "Deleted %d Jetpack contact form messages"
|
1088 |
+
msgstr[0] ""
|
1089 |
+
msgstr[1] ""
|
1090 |
+
|
1091 |
+
#: include/misc/class-bulk-delete-misc.php:32
|
1092 |
+
#: include/misc/class-bulk-delete-misc.php:95
|
1093 |
+
msgid "Bulk Delete Miscellaneous Items"
|
1094 |
+
msgstr ""
|
1095 |
+
|
1096 |
+
#: include/misc/class-bulk-delete-misc.php:33
|
1097 |
+
msgid "Bulk Delete Misc"
|
1098 |
+
msgstr ""
|
1099 |
+
|
1100 |
+
#: include/settings/class-bd-settings-page.php:44
|
1101 |
+
#: include/settings/class-bd-settings-page.php:89
|
1102 |
+
msgid "Bulk Delete Settings"
|
1103 |
+
msgstr ""
|
1104 |
+
|
1105 |
+
#: include/settings/class-bd-settings-page.php:45
|
1106 |
+
msgid "Settings"
|
1107 |
+
msgstr ""
|
1108 |
+
|
1109 |
+
#: tmp_addon/bulk-delete-from-trash.php:104
|
1110 |
msgid "Select the post type whose posts you want to delete from trash"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
+
#: tmp_addon/bulk-delete-from-trash.php:142
|
1114 |
msgid "Deleted %d post from trash"
|
1115 |
msgid_plural "Deleted %d posts from trash"
|
1116 |
msgstr[0] ""
|
1117 |
msgstr[1] ""
|
1118 |
|
1119 |
+
#: tmp_addon/bulk-delete-from-trash.php:194
|
1120 |
msgid "Select the checkbox to delete pages from trash"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: tmp_addon/bulk-delete-from-trash.php:202
|
1124 |
msgid "pages in Trash"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
+
#: tmp_addon/bulk-delete-from-trash.php:226
|
1128 |
msgid "Deleted %d page from trash"
|
1129 |
msgid_plural "Deleted %d pages from trash"
|
1130 |
msgstr[0] ""
|
1131 |
msgstr[1] ""
|
1132 |
|
1133 |
+
#: tmp_addon/bulk-delete-from-trash.php:272
|
1134 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:259
|
1135 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:480
|
1136 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:324
|
1137 |
#: tmp_addon/bulk-delete-posts-by-title.php:359
|
1138 |
#: tmp_addon/bulk-delete-posts-by-user-role.php:296
|
1139 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:340
|
1140 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-pages-by-status.php:108
|
1141 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-category.php:108
|
1142 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-custom-field.php:108
|
1143 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-duplicate-title.php:117
|
1144 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-post-type.php:107
|
1145 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-status.php:108
|
1146 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-tag.php:108
|
1147 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-taxonomy.php:103
|
1148 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-posts-by-user-role.php:108
|
1149 |
+
#: tmp_addon/bulk-delete-scheduler-for-deleting-users-by-role.php:108
|
1150 |
+
msgid "<strong>%s</strong> addon needs <a href=\"%s\">Bulk Delete plugin</a> to be installed and activated; the addon has been <strong>deactivated</strong>."
|
1151 |
+
msgstr ""
|
1152 |
+
|
1153 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:132
|
1154 |
+
msgid "Only if author name "
|
1155 |
+
msgstr ""
|
1156 |
+
|
1157 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:134
|
1158 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:148
|
1159 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:162
|
1160 |
+
msgid "is"
|
1161 |
+
msgstr ""
|
1162 |
+
|
1163 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:135
|
1164 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:149
|
1165 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:163
|
1166 |
+
msgid "is not"
|
1167 |
+
msgstr ""
|
1168 |
+
|
1169 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:137
|
1170 |
+
msgid "Author Name"
|
1171 |
+
msgstr ""
|
1172 |
+
|
1173 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:146
|
1174 |
+
msgid "Only if author email "
|
1175 |
+
msgstr ""
|
1176 |
+
|
1177 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:151
|
1178 |
+
msgid "Author Email"
|
1179 |
+
msgstr ""
|
1180 |
+
|
1181 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:160
|
1182 |
+
msgid "Only if author ip "
|
1183 |
+
msgstr ""
|
1184 |
+
|
1185 |
+
#: tmp_addon/bulk-delete-jetpack-contact-form-messages.php:165
|
1186 |
+
msgid "Author ip"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:134
|
1251 |
msgstr ""
|
1252 |
|
1253 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:304
|
1254 |
+
msgid "Posts matching the selected custom field setting are scheduled for deletion."
|
|
|
1255 |
msgstr ""
|
1256 |
|
1257 |
#: tmp_addon/bulk-delete-posts-by-custom-field.php:309
|
1293 |
msgstr ""
|
1294 |
|
1295 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:240
|
1296 |
+
msgid "Posts with duplicate title matching the selected settings are scheduled for deletion."
|
|
|
|
|
1297 |
msgstr ""
|
1298 |
|
1299 |
#: tmp_addon/bulk-delete-posts-by-duplicate-title.php:245
|
1348 |
msgstr ""
|
1349 |
|
1350 |
#: tmp_addon/bulk-delete-posts-by-user-role.php:141
|
1351 |
+
msgid "Use this option if there are more than 1000 posts or the script timesout."
|
|
|
1352 |
msgstr ""
|
1353 |
|
1354 |
#: tmp_addon/bulk-delete-posts-by-user-role.php:205
|
1361 |
msgstr[0] ""
|
1362 |
msgstr[1] ""
|
1363 |
|
1364 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:91
|
1365 |
+
msgid "Scheduler Email Settings"
|
1366 |
+
msgstr ""
|
1367 |
+
|
1368 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:186
|
1369 |
+
msgid "From Name"
|
1370 |
+
msgstr ""
|
1371 |
+
|
1372 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:187
|
1373 |
+
msgid "The name scheduler emails are said to come from. This should probably be your site name."
|
1374 |
+
msgstr ""
|
1375 |
+
|
1376 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:193
|
1377 |
+
msgid "From Email"
|
1378 |
+
msgstr ""
|
1379 |
+
|
1380 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:194
|
1381 |
+
msgid "Email to send scheduler emails from. This will act as the \"from\" and \"reply-to\" address."
|
1382 |
+
msgstr ""
|
1383 |
+
|
1384 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:200
|
1385 |
+
msgid "To Email"
|
1386 |
+
msgstr ""
|
1387 |
+
|
1388 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:201
|
1389 |
+
msgid "Email to which scheduler emails should be sent."
|
1390 |
+
msgstr ""
|
1391 |
+
|
1392 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:207
|
1393 |
+
msgid "Before Scheduler Notifications"
|
1394 |
+
msgstr ""
|
1395 |
+
|
1396 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:208
|
1397 |
+
msgid "Configure before scheduler notification emails"
|
1398 |
+
msgstr ""
|
1399 |
+
|
1400 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:213
|
1401 |
+
msgid "Before Scheduler Subject"
|
1402 |
+
msgstr ""
|
1403 |
+
|
1404 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:214
|
1405 |
+
msgid "Enter the subject line for the before scheduler email"
|
1406 |
+
msgstr ""
|
1407 |
+
|
1408 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:216
|
1409 |
+
msgid "BulkWP Scheduler is about to run"
|
1410 |
+
msgstr ""
|
1411 |
+
|
1412 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:220
|
1413 |
+
msgid "Before Scheduler"
|
1414 |
+
msgstr ""
|
1415 |
+
|
1416 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:221
|
1417 |
+
msgid "Enter the email that is sent before the scheduler runs. HTML is accepted. Available template tags:"
|
1418 |
+
msgstr ""
|
1419 |
+
|
1420 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:223
|
1421 |
+
msgid "The following scheduler is about to run."
|
1422 |
+
msgstr ""
|
1423 |
+
|
1424 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:227
|
1425 |
+
msgid "After Scheduler Notifications"
|
1426 |
+
msgstr ""
|
1427 |
+
|
1428 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:228
|
1429 |
+
msgid "Configure After scheduler notification emails"
|
1430 |
+
msgstr ""
|
1431 |
+
|
1432 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:233
|
1433 |
+
msgid "After Scheduler Subject"
|
1434 |
+
msgstr ""
|
1435 |
+
|
1436 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:234
|
1437 |
+
msgid "Enter the subject line for the after scheduler email"
|
1438 |
+
msgstr ""
|
1439 |
+
|
1440 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:236
|
1441 |
+
msgid "BulkWP Scheduler just ran"
|
1442 |
+
msgstr ""
|
1443 |
+
|
1444 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:240
|
1445 |
+
msgid "After Scheduler"
|
1446 |
+
msgstr ""
|
1447 |
+
|
1448 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:241
|
1449 |
+
msgid "Enter the email that is sent after the scheduler runs. HTML is accepted. Available template tags:"
|
1450 |
+
msgstr ""
|
1451 |
+
|
1452 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:243
|
1453 |
+
msgid "The following scheduler just ran."
|
1454 |
+
msgstr ""
|
1455 |
+
|
1456 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:243
|
1457 |
+
msgid "deleted"
|
1458 |
+
msgstr ""
|
1459 |
+
|
1460 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:261
|
1461 |
+
msgid "Name of the scheduler"
|
1462 |
+
msgstr ""
|
1463 |
+
|
1464 |
+
#: tmp_addon/bulk-delete-scheduler-email.php:280
|
1465 |
+
msgid "Number of items affected"
|
1466 |
+
msgstr ""
|
1467 |
+
#. Plugin Name of the plugin/theme
|
1468 |
+
msgid "Bulk Delete"
|
1469 |
+
msgstr ""
|
1470 |
+
|
1471 |
#. Plugin URI of the plugin/theme
|
1472 |
msgid "http://bulkwp.com"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
#. Description of the plugin/theme
|
1476 |
+
msgid "Bulk delete users and posts from selected categories, tags, post types, custom taxonomies or by post status like drafts, scheduled posts, revisions etc."
|
|
|
|
|
|
|
1477 |
msgstr ""
|
1478 |
|
1479 |
#. Author of the plugin/theme
|
readme.txt
CHANGED
@@ -1,17 +1,15 @@
|
|
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.9.
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
-
Stable tag: 5.
|
8 |
|
9 |
Bulk delete posts, pages or users in bulk based on different conditions and filters.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
**NOTE: v5.0 and the above of this plugin is NOT compatible with any addons whose version is less than v0.5. If you are using an addon for this plugin, then make sure you that you have at least v0.5 or above of the addon before upgrading to v5.0 of this plugin. If you have any questions regarding this, then post them in the [BulkWP support forums][1]**
|
14 |
-
|
15 |
Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.
|
16 |
|
17 |
The following conditions and filters are supported.
|
@@ -79,6 +77,9 @@ Like posts, all the above options support the following filters as well
|
|
79 |
|
80 |
- 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))
|
81 |
|
|
|
|
|
|
|
82 |
More options coming soon :)
|
83 |
|
84 |
As you can see, the Plugin provide comprehensive options and filters to perform bulk deletion.
|
@@ -94,6 +95,8 @@ The following are the popular pro addons that are available for purchase. The fu
|
|
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).
|
99 |
- **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).
|
@@ -200,9 +203,9 @@ If you choose the option "Move to trash" then you can find them from trash. But
|
|
200 |
|
201 |
= Is it possible that some Plugin are not compatible with Bulk Delete? =
|
202 |
|
203 |
-
Yes. If a Plugin rewrites the query vars by using `add_filter( 'pre_get_posts' )` then it may be incompatible with this Plugin.
|
204 |
|
205 |
-
|
206 |
|
207 |
= Is it possible to schedule deletion of posts? =
|
208 |
|
@@ -246,6 +249,24 @@ You can contact us by posting about it in our [support forum](http://bulkwp.com/
|
|
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)
|
@@ -449,6 +470,9 @@ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/
|
|
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 |
|
1 |
=== Bulk Delete ===
|
2 |
Contributors: sudar
|
3 |
Tags: post, comment, delete, bulk, mass, draft, revision, page
|
4 |
+
Requires at least: 3.9
|
5 |
+
Tested up to: 3.9.2
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
+
Stable tag: 5.3
|
8 |
|
9 |
Bulk delete posts, pages or users in bulk based on different conditions and filters.
|
10 |
|
11 |
== Description ==
|
12 |
|
|
|
|
|
13 |
Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.
|
14 |
|
15 |
The following conditions and filters are supported.
|
77 |
|
78 |
- 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))
|
79 |
|
80 |
+
#### Deleting other items
|
81 |
+
- Delete Jetpack Contact Form Messages
|
82 |
+
|
83 |
More options coming soon :)
|
84 |
|
85 |
As you can see, the Plugin provide comprehensive options and filters to perform bulk deletion.
|
95 |
- **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).
|
96 |
- **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).
|
97 |
- **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).
|
98 |
+
- **Delete Jetpack Contact Form Messages** - Adds the ability to delete Jetpack Contact Form Messages based on filters and to schedule automatic deletion. [More details](http://bulkwp.com/addons/bulk-delete-jetpack-contact-form-messages/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
99 |
+
- **Scheduler Email** - Sends email whenever a Bulk WP Scheduler runs. [More details](http://bulkwp.com/addons/scheduler-email/?utm_source=wprepo&utm_campaign=BulkDelete&utm_medium=readme).
|
100 |
- **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).
|
101 |
- **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).
|
102 |
- **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).
|
203 |
|
204 |
= Is it possible that some Plugin are not compatible with Bulk Delete? =
|
205 |
|
206 |
+
Yes. If a Plugin rewrites the query vars by using `add_filter( 'pre_get_posts' )` then it may be incompatible with this Plugin.
|
207 |
|
208 |
+
If you find any Plugin with which Bulk Delete doesn't work, then let me know and I will try to see if I can add support through some hack.
|
209 |
|
210 |
= Is it possible to schedule deletion of posts? =
|
211 |
|
249 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|
250 |
== Changelog ==
|
251 |
|
252 |
+
= 2014-08-17 - v5.3 - (Dev time: 17 hours) =
|
253 |
+
- New: Ability to delete Jetpack Contact Form Messages (Issue #72)
|
254 |
+
- New: New Addon to send email whenever a Bulk WP Scheduler runs
|
255 |
+
- New: Settings screen for addons (Issue #78)
|
256 |
+
- New: Add setting helper functions for addons
|
257 |
+
|
258 |
+
- Tweak: Tweak the names of the menu items (Issue #73)
|
259 |
+
- Tweak: Add information about `DISABLE_WP_CRON` in system info
|
260 |
+
- Tweak: Tweak labels in Scheduled Jobs page (Issue #71)
|
261 |
+
- Tweak: Removed unused variable
|
262 |
+
- Tweak: Removed old compatibility code for `The Events Calendar` plugin
|
263 |
+
- Tweak: Add filters to extend menu items (Issue #74)
|
264 |
+
- Tweak: Add filters to extend meta boxes in each page (Issue #75)
|
265 |
+
- Tweak: Remove `upgraded from` from system info (Issue #77)
|
266 |
+
|
267 |
+
- Bug: Fixed a warning that happened because of duplicate call to `add_meta_boxes`
|
268 |
+
|
269 |
+
|
270 |
= 2014-07-03 - v5.2 - (Dev time: 8 hours) =
|
271 |
- New: Ability to delete users in batches (Issue #47)
|
272 |
- New: A new addon to delete posts based on users (Issue #6)
|
470 |
|
471 |
== Upgrade Notice ==
|
472 |
|
473 |
+
= 5.3 =
|
474 |
+
Ability to delete Jetpack Contact Form messages
|
475 |
+
|
476 |
= 5.2 =
|
477 |
Ability to delete users in batches and a new addon to delete posts based on users
|
478 |
|