[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
Tue Aug 31 04:43:52 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:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Triage
Component:  Post Types   |     Version:                 
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by nacin):

 Should be simple enough to check if $page is an array, and if so, call
 add_meta_box again with the same parameters otherwise.

 Related: #13937

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


More information about the wp-trac mailing list