[wp-trac] [WordPress Trac] #14149: Introduce register_settings()
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 30 04:21:47 UTC 2010
#14149: Introduce register_settings()
----------------------------+-----------------------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Comment(by blepoxp):
What do you think about the attached .diff? It would allow for options
array to be a mixed index / associative array where indexed == no callback
and associative == callback. ie:
{{{
$options = array( 'option_one', 'option_two' => 'option_two_callback',
'option_three' );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14149#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list