[wp-trac] [WordPress Trac] #21543: Add a show_metabox parameter to register_taxonomy
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 10 18:45:17 UTC 2012
#21543: Add a show_metabox parameter to register_taxonomy
-------------------------+-----------------------------
Reporter: wycks | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Currently when registering a taxonomy we have the `$show_ui` param, this
effects both the admin menu and the actual taxonomy meta box on the post
edit screens.
There are cases when you want it to show in one but not the other, to do
that now you have to use either `remove_meta_box` or `remove_menu_page`.
It would be nice to add another parameter like `show_metabox =>
array(posts)` to `register_taxonomy` which would effect the meta boxes
only. And one for the admin menu as well.
related: http://core.trac.wordpress.org/ticket/12718
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21543>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list