Fix delete bulk op at end of pages list. Props DD32. fixes #8135

git-svn-id: https://develop.svn.wordpress.org/trunk@9603 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-11 00:30:24 +00:00
parent 40ecdcaefd
commit b833c35a24
1 changed files with 1 additions and 1 deletions

View File

@ -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);