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:
parent
40ecdcaefd
commit
b833c35a24
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user