[wp-trac] [WordPress Trac] #17515: Flaw in add_meta_box/do_meta_boxes

WordPress Trac noreply at wordpress.org
Sun Jan 13 23:40:19 UTC 2013


#17515: Flaw in add_meta_box/do_meta_boxes
---------------------------------+--------------------
 Reporter:  jfarthing84          |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  3.6
Component:  Administration       |     Version:  3.1.2
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.3-early  |
---------------------------------+--------------------
Changes (by wonderboymusic):

 * milestone:  Future Release => 3.6


Comment:

 [attachment:template.php.diff] completely breaks the admin. Converting the
 object to array doesn't make sense, and not having a second parameter to
 pass to the callback is the culprit. My patch just adds docs for the
 SEVENTH (7th) undocumented param for `add_meta_box( $id, $title,
 $callback, $screen = null, $context = 'advanced', $priority = 'default',
 $callback_args = null )`

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17515#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list