Keep sorting and paging for bulk actions. props garyc40, see #16166.

git-svn-id: https://develop.svn.wordpress.org/trunk@17270 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-01-12 17:06:33 +00:00
parent 0105bcadf7
commit 19122c3516
8 changed files with 42 additions and 15 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ if ( $doaction ) {
check_admin_referer('bulk-posts');
$sendback = remove_query_arg( array('trashed', 'untrashed', 'deleted', 'ids'), wp_get_referer() );
$sendback = add_query_arg( 'paged', $pagenum, $sendback );
$sendback = $wp_list_table->add_query_args( $sendback );
if ( strpos($sendback, 'post.php') !== false )
$sendback = admin_url($post_new_file);