[wp-trac] [WordPress Trac] #22487: Adding priority to settings sections.

WordPress Trac noreply at wordpress.org
Mon Jan 21 04:31:46 UTC 2013


#22487: Adding priority to settings sections.
----------------------------------------------+----------------------------
 Reporter:  alexmansfield                     |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
Component:  General                           |  Review
 Severity:  normal                            |     Version:
 Keywords:  has-patch settings-api 3.6-early  |  Resolution:
----------------------------------------------+----------------------------

Comment (by unknowndomain):

 @alexmandfield I have just tested the patch and found that it doesn't work
 as expected, if you have two sections with the same or default priority
 they should be ordered in the order in code, however they seem to get
 sorted backwards.

 Also I think this should be expanded to add priority
 to`add_settings_fields` as this could also be useful to people, especially
 once the Settings API is implemented in wp-admin.

 What do you think?

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


More information about the wp-trac mailing list