[wp-trac] [WordPress Trac] #13305: Allow multiple post types to use same add_meta_box call (Pass an array for the $page arg)
WordPress Trac
wp-trac at lists.automattic.com
Sat May 8 22:28:37 UTC 2010
#13305: Allow multiple post types to use same add_meta_box call (Pass an array for
the $page arg)
--------------------------+-------------------------------------------------
Reporter: idealien | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Post Types | Version:
Severity: normal | Keywords: > 3.0
--------------------------+-------------------------------------------------
The $page parameter of add_meta_box
[http://codex.wordpress.org/Function_Reference/add_meta_box] currently
only accepts a string to "The type of Write screen on which to show the
edit screen section ('post', 'page', or 'link')".[[BR]]
[[BR]]
In discussing best way to allow for multiple post types to use the same
meta box with 3.0 (beta), scribu indicated that currently one would have
to call add_meta_box twice.[[BR]]
[[BR]]
scibu: come to think of it, you should be able to pass an array for the
$page arg
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13305>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list