mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 23:41:38 +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
@ -115,7 +115,7 @@ if ( $action ) {
|
||||
update_option( 'allowedthemes', $allowed_themes );
|
||||
restore_current_blog();
|
||||
|
||||
wp_redirect( add_query_arg( $action, $n, $referer ) );
|
||||
wp_redirect( add_query_arg( array( 'id' => $id, $action => $n ), $referer ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user