[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:01:54 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 koopersmith):
Replying to [comment:8 nacin]:
> We should probably do:
>
> {{{
> ... defined( 'DOING_AJAX' ) ...
> }}}
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20872#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list