[wp-trac] [WordPress Trac] #11143: do_settings_fields() is not calling on additional arguments from add_settings_field()
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 18 21:21:11 UTC 2009
#11143: do_settings_fields() is not calling on additional arguments from
add_settings_field()
-------------------------+--------------------------------------------------
Reporter: hanilovesme | Type: defect (bug)
Status: new | Priority: normal
Milestone: 2.9 | Component: Administration
Version: 2.8.5 | Severity: normal
Keywords: has-patch |
-------------------------+--------------------------------------------------
Comment(by scribu):
Replying to [comment:3 ryan]:
> call_user_func_array() will result in all of the array keys being lost.
We should probably use call_user_func() and pass the whole args array in
tact as one argument.
You're right; forgot about that. Patch updated.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11143#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list