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

git-svn-id: https://develop.svn.wordpress.org/trunk@19293 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-11-15 02:24:30 +00:00
parent 74d1d7012f
commit 208bc57e76
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'] ) {