#blamenacin, see #16166.

git-svn-id: https://develop.svn.wordpress.org/trunk@17273 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-01-12 23:22:03 +00:00
parent fd8d4a6c02
commit fabe2d6fdc

View File

@ -84,7 +84,7 @@ if ( $doaction ) {
$location = $referer; $location = $referer;
} }
$location = $wp_list_table->add_query_args( $locations ); $location = $wp_list_table->add_query_args( $location );
$location = add_query_arg( array( 'attached' => $attached ) , $location ); $location = add_query_arg( array( 'attached' => $attached ) , $location );
wp_redirect( $location ); wp_redirect( $location );
exit; exit;
@ -122,7 +122,7 @@ if ( $doaction ) {
break; break;
} }
$location = $wp_list_table->add_query_args( $locations ); $location = $wp_list_table->add_query_args( $location );
wp_redirect( $location ); wp_redirect( $location );
exit; exit;
} elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) { } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {