Don't remove a category filter after performing an action on edit.php. props garyc40, fixes #11587
git-svn-id: http://svn.automattic.com/wordpress/trunk@13987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df5d722046
commit
8681248856
|
@ -128,7 +128,7 @@ if ( isset($_GET['doaction']) || isset($_GET['doaction2']) || isset($_GET['delet
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset($_GET['action']) )
|
if ( isset($_GET['action']) )
|
||||||
$sendback = remove_query_arg( array('action', 'action2', 'cat', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback );
|
$sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback );
|
||||||
|
|
||||||
wp_redirect($sendback);
|
wp_redirect($sendback);
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Reference in New Issue