Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-15 02:24:30 +00:00
parent 64601afb36
commit 836051d1e9
1 changed files with 4 additions and 4 deletions

View File

@ -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'] ) {