[wp-trac] [WordPress Trac] #13937: Pass list of arguments as array in add_meta_box()
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 20 20:23:05 UTC 2010
#13937: Pass list of arguments as array in add_meta_box()
--------------------------+-------------------------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: General | Version:
Severity: minor | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by johnbillion):
That code block at the beginning of your patched `add_meta_box()` (lines
2779 to 2793) should be abstracted out to another function so it can be
used in other functions, much like `wp_parse_args` can. Something like
`wp_get_args` maybe.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13937#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list