From fabe2d6fdc462063d65a806bea3f3908703c5f66 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 12 Jan 2011 23:22:03 +0000 Subject: [PATCH] #blamenacin, see #16166. git-svn-id: https://develop.svn.wordpress.org/trunk@17273 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 629be5b8a2..ed1665bfbb 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -84,7 +84,7 @@ if ( $doaction ) { $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 ); wp_redirect( $location ); exit; @@ -122,7 +122,7 @@ if ( $doaction ) { break; } - $location = $wp_list_table->add_query_args( $locations ); + $location = $wp_list_table->add_query_args( $location ); wp_redirect( $location ); exit; } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {