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:
parent
74d1d7012f
commit
208bc57e76
@ -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