[wp-trac] [WordPress Trac] #27993: Support for contexts in the Customizer

WordPress Trac noreply at wordpress.org
Wed Jul 9 23:57:31 UTC 2014


#27993: Support for contexts in the Customizer
------------------------------+-----------------------------
 Reporter:  danielbachhuber   |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Customize         |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  ui, javascript
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"29051"]:
 {{{
 #!CommitTicketReference repository="" revision="29051"
 Customizer: Introduce WP_Customize_Control::active() method to determine
 whether the control is relevant to the current context (i.e. to the
 current URL being previewed).

 Control can indicate its active state by a subclass overriding the
 'active_callback' method, by supplying a callable 'active_callback'
 argument into the control's constructor, or by filtering
 'customize_control_active'.

 props westonruter.
 see #27993.
 }}}

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


More information about the wp-trac mailing list