[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:49:03 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 | Resolution:
Keywords: |
-------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> 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
New description:
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: #12718
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21543#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list