Call auth_redirect() for customize.php. props ocean90. fixes #20872.
git-svn-id: http://core.svn.wordpress.org/trunk@21019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
39cfdaf149
commit
761273807a
|
@ -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