[wp-trac] [WordPress Trac] #19910: Appearance Improvements: Theme Customization Frame

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 28 19:43:27 UTC 2012


#19910: Appearance Improvements: Theme Customization Frame
----------------------------+--------------------------
 Reporter:  koopersmith     |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  3.4
Component:  Themes          |     Version:  3.3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------------

Comment (by Myatu):

 Just some food for thought...

 Looking at how sections and settings are added in the `WP_Customize`
 class, wouldn't there be a benefit to add a filter to `add_setting` and
 `add_section`. This provides ample opportunity to filter (modify) the
 respective setting or sections, without having to resort to a later
 `remove_setting`?

 And this simply nitpicking: Sections and settings are rendered in the
 order it is saved in their respective arrays (in `WP_Customize`). Since
 these are protected, no outside reference is given so the order cannot be
 changed (nor is there the ability to do so in `add_setting` or
 `add_section`). This would be helpful to move certain sections or settings
 up and down the list for specific theme customizations (ie., a "Footer"
 right after the "Header" section, as "Static Front Page" and "Set Title &
 Tagline" would have little to do with it - makes it a bit more intuitive
 for the end-user.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19910#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list