From d244c57a7f371c9fd8d7cd6b729b6317c76ada6b Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 11 Nov 2008 00:30:24 +0000 Subject: [PATCH] Fix delete bulk op at end of pages list. Props DD32. fixes #8135 git-svn-id: http://svn.automattic.com/wordpress/trunk@9603 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 2a3c7e3488..5a3f8a8cdd 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -15,7 +15,7 @@ if ( isset($_GET['action']) && ( -1 != $_GET['action'] || -1 != $_GET['action2'] switch ( $doaction ) { case 'delete': - if ( isset($_GET['post']) && isset($_GET['doaction']) ) { + if ( isset($_GET['post']) && (isset($_GET['doaction']) || isset($_GET['doaction2'])) ) { check_admin_referer('bulk-pages'); foreach( (array) $_GET['post'] as $post_id_del ) { $post_del = & get_post($post_id_del);