[wp-trac] [WordPress Trac] #20872: Customizer: Accessing /wp-admin/customize.php doesn't redirect to wp-login.php when not logged in

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 7 16:04:07 UTC 2012


#20872: Customizer: Accessing /wp-admin/customize.php doesn't redirect to wp-
login.php when not logged in
------------------------------+-----------------------
 Reporter:  ocean90           |       Owner:  nacin
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.4
Component:  Appearance        |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by nacin):

 > Since we're running the preview ajax requests through the front end
 (instead of admin-ajax), DOING_AJAX will not be (and should not be)
 defined, so we shouldn't have to check for it.

 Save runs through admin-ajax, no?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20872#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list