mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
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:
parent
64601afb36
commit
836051d1e9
@ -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'] ) {
|
||||
|
Loading…
Reference in New Issue
Block a user