[wp-trac] [WordPress Trac] #23509: Conditional function that lets you know if your site is being viewed through the Customizer

WordPress Trac noreply at wordpress.org
Fri Jul 4 16:16:49 UTC 2014


#23509: Conditional function that lets you know if your site is being viewed
through the Customizer
-------------------------+-----------------------------
 Reporter:  nathanrice   |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.0
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28999"]:
 {{{
 #!CommitTicketReference repository="" revision="28999"
 Add is_customize_preview(), a conditional function to check if the site is
 being previewed in the Customizer.

 props sammybeats, mattwiebe.
 fixes #23509.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23509#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list