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
This commit is contained in:
parent
eddacb0872
commit
d244c57a7f
|
@ -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