[wp-trac] [WordPress Trac] #15000: add_meta_box() should accept array of post types

WordPress Trac noreply at wordpress.org
Sat Jun 28 22:30:22 UTC 2014


#15000: add_meta_box() should accept array of post types
--------------------------------------+------------------------------
 Reporter:  coffee2code               |       Owner:
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Administration            |     Version:  3.0.1
 Severity:  minor                     |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by iamfriendly):

 I understand what you mean in terms of pros vs cons of this approach,
 @nacin.

 Personally, I don't mind how this is implemented (with circular references
 or otherwise), but I personally think the ease of adding/removing
 metaboxes from multiple screens at once is useful and, it seems to fall in
 line with what we do elsewhere.

 I've updated the patch with additions to remove_meta_box() (as well as
 slightly tweaking the docs)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15000#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list