[wp-trac] [WordPress Trac] #30235: Improve ability to filter active state for widget area Customizer sections

WordPress Trac noreply at wordpress.org
Wed Nov 12 22:06:22 UTC 2014


#30235: Improve ability to filter active state for widget area Customizer sections
--------------------------+-------------------------
 Reporter:  westonruter   |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.1
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by westonruter):

 Got it. In [attachment:30235.2.diff] it also loops over the sections
 associated with each panel, since such panels no longer are located in the
 `$wp_customize->sections` array anymore. This could be a point of
 confusion when working with the PHP API and the JS API, since in the
 latter the sections are all located in the same array but in the former
 they are not.

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


More information about the wp-trac mailing list