Opened 13 years ago
Closed 13 years ago
#17973 closed defect (bug) (invalid)
Attachment Taxonomies menu items not highlighted correctly
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Attachment Taxonomies menu items are not being correctly highlighted.
Code to reproduce:
function foobar_tax() { register_taxonomy('foobar', array( 'post', 'attachment:image' ), array('label' => 'FooBars', 'show_ui' => true) ); } add_action('init', 'foobar_tax');
Accessing the attachment taxonomy via the Media subheader highlights the "Post" header, Foobar under the Posts menu, and FooBar under the Media heading.
Expected behaviour: "Media" header be highlighted, and Foobar under Media highlighted only.
Patch attached
Change History (1)
Note: See
TracTickets for help on using
tickets.
Oops.. We don't even support Attachment Taxonomies in the admin menu yet #13414 I had that code still active.