Sergey Biryukov ad7bc20cb1 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.
Built from https://develop.svn.wordpress.org/trunk@29051


git-svn-id: http://core.svn.wordpress.org/trunk@28839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 23:58:16 +00:00
..
2012-11-17 15:11:29 +00:00
2014-07-07 22:41:15 +00:00
2014-07-07 22:41:15 +00:00
2014-07-04 05:14:15 +00:00
2014-03-29 23:58:14 +00:00
2014-03-29 23:58:14 +00:00
2012-04-17 23:09:29 +00:00
2013-11-15 05:26:10 +00:00
2013-11-15 05:26:10 +00:00
2013-11-15 04:42:09 +00:00
2013-12-28 23:53:15 +00:00
2013-12-28 23:53:15 +00:00