diff --git a/includes/class-main.php b/includes/class-main.php index 3f2c4ea65ccb90ed746055efd5e81350a145125d..2705149ca224fd789f4ad7a74d96c509d0f76553 100644 --- a/includes/class-main.php +++ b/includes/class-main.php @@ -66,8 +66,8 @@ class Main { return; } - // Nothing to do. - if ( empty( $vars->posts ) ) { + // Nothing to do, unless we're emptying the trash. + if ( empty( $vars->posts ) && 'delete_all' !== $vars->action ) { self::do_admin_redirect( self::ADMIN_NOTICE_KEY, false ); }