[wp-trac] [WordPress Trac] #25104: is_admin() conditional tag is not true on the Customizer page
WordPress Trac
noreply at wordpress.org
Fri Jun 26 17:38:03 UTC 2015
#25104: is_admin() conditional tag is not true on the Customizer page
--------------------------+----------------------
Reporter: ScottSmith | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Customize | Version: 3.4
Severity: normal | Resolution: invalid
Keywords: needs-codex | Focuses:
--------------------------+----------------------
Changes (by badfun):
* keywords: => needs-codex
Comment:
Was just about to report the same 'bug'. If this was by design, then I
suppose the problem is really communicating that the customizer preview is
really front-end, and not in the admin, even though it is, well, in the
admin.
is_customize_preview() is great of course. thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25104#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list