diff --git a/wp-admin/network/site-themes.php b/wp-admin/network/site-themes.php index 0aa1ca425..736561da2 100644 --- a/wp-admin/network/site-themes.php +++ b/wp-admin/network/site-themes.php @@ -111,12 +111,12 @@ if ( $action ) { } break; } - + update_option( 'allowedthemes', $allowed_themes ); restore_current_blog(); - - wp_redirect( add_query_arg( $action, $n, $referer ) ); - exit; + + wp_redirect( add_query_arg( array( 'id' => $id, $action => $n ), $referer ) ); + exit; } if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) {