[wp-trac] [WordPress Trac] #18045: Replace tabled-based settings form markup with do_settings_sections() in Twenty Eleven

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 9 03:09:30 UTC 2011


#18045: Replace tabled-based settings form markup with do_settings_sections() in
Twenty Eleven
-------------------------+-------------------------------------
 Reporter:  chipbennett  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  3.2
 Severity:  normal       |   Keywords:  has-patch needs-testing
-------------------------+-------------------------------------
 Currently, Twenty Eleven uses a hard-coded, table-based markup for its
 Theme Options page. Patch replaces this markup with
 `do_settings_sections()`, corresponding call to `add_settings_section()`,
 and calls to `add_settings_field()` for each Theme Option.

 One other, minor change: changed `theme_options_render_page()` function
 name to `twentyeleven_theme_options_render_page()`, to correspond to
 function prefix best practices.

 I would like to add in more inline documentation to this file, in general;
 but want to get at least a blessed first-pass on the code changes while I
 work on improving the documentation.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18045>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list