[wp-trac] [WordPress Trac] #15000: add_meta_box() should accept array of post types
WordPress Trac
noreply at wordpress.org
Thu Oct 8 19:06:34 UTC 2015
#15000: add_meta_box() should accept array of post types
--------------------------------------+---------------------------
Reporter: coffee2code | Owner: DrewAPicture
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.4
Component: Administration | Version: 3.0.1
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+---------------------------
Comment (by DrewAPicture):
In [changeset:"34951"]:
{{{
#!CommitTicketReference repository="" revision="34951"
Administration: Add the ability to pass an array of screen IDs to
`add_meta_box()` and `remove_meta_box()`.
The `$screen` parameter in both functions can now accept a single screen
ID, `WP_Screen` object, or an array of screen IDs.
Adds tests.
Props coffee2code, iamfriendly, madalinungureanu, mordauk, igmoweb,
meloniq, DrewAPicture.
See #15000.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15000#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list