[wp-trac] [WordPress Trac] #21104: Taxonomies on attachments should not generate UI is show_ui is false
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 28 18:18:07 UTC 2012
#21104: Taxonomies on attachments should not generate UI is show_ui is false
---------------------------+------------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.4
Severity: normal | Keywords: has-patch dev-feedback
---------------------------+------------------------------------
Currently if you register a taxonomy and associate it with attachments,
the ```show_ui``` argument does not affect whether WordPress generates the
UI for the taxonomy in the media item edit form. If ```show_ui``` is
false, then no UI should be generated anywhere in any admin screen.
{{{
$args = array(
'label' => 'Test Taxonomy',
'show_ui' => false,
);
register_taxonomy( 'test', array( 'attachment' ), $args );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21104>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list