[wp-trac] [WordPress Trac] #25433: do_action( 'do_meta_boxes' ) is a redundant hook

WordPress Trac noreply at wordpress.org
Sat Sep 28 18:39:40 UTC 2013


#25433: do_action( 'do_meta_boxes' ) is a redundant hook
----------------------------+-----------------------------
 Reporter:  ericlewis       |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  dev-feedback
----------------------------+-----------------------------
 As I understand, the do_meta_boxes hook "should be" fired when the meta
 boxes should be displayed. @scribu mentioned as much [http://wordpress-
 hackers.1065353.n5.nabble.com/add-meta-boxes-and-do-meta-boxes-hooks-
 td32206.html on wp-hackers a while ago]. It was moved out of the beginning
 of the do_meta_boxes() function into separate edit-form-*.php files before
 the admin header is called in r9620 for undocumented reasons.

 This hook is no more helpful than add_meta_boxes and fires right after it.
 I would suggest that we deprecate this hook, and suggest developers use
 the add_meta_boxes hook instead.

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


More information about the wp-trac mailing list