Changes between Initial Version and Version 2 of Ticket #23387
- Timestamp:
- 02/05/2013 11:54:36 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23387
- Property Keywords settings-api added
- Property Version trunk → 3.5
-
Ticket #23387 – Description
initial v2 3 3 I've modified the add_settings_field() function to allow for a priority to be set (much like when adding settings to the theme customizer). I also added uasort($wp_settings_fields[$page][$section], 'compare_priority'); to the do_settings_fields() function, where 'compare_priority' is a slightly modified version of the compare function used to set the priority of the theme customizer sections. 4 4 5 This patch is loosely related to [http://core.trac.wordpress.org/ticket/22487]which adds priority to settings sections, but not individual settings.5 This patch is loosely related to #22487 which adds priority to settings sections, but not individual settings.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)