Call auth_redirect() for customize.php. props ocean90. fixes #20872.
git-svn-id: https://develop.svn.wordpress.org/trunk@21019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6fbd4a92f2
commit
39d7e1ccc9
@ -78,6 +78,9 @@ final class WP_Customize_Manager {
|
||||
* @since 3.4.0
|
||||
*/
|
||||
public function setup_theme() {
|
||||
if ( is_admin() && ! defined( 'DOING_AJAX' ) )
|
||||
auth_redirect();
|
||||
|
||||
send_origin_headers();
|
||||
|
||||
$this->original_stylesheet = get_stylesheet();
|
||||
|
Loading…
Reference in New Issue
Block a user