[wp-trac] [WordPress Trac] #17973: Attachment Taxonomies menu items not highlighted correctly
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 4 07:46:52 UTC 2011
#17973: Attachment Taxonomies menu items not highlighted correctly
----------------------------+----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.1
Severity: normal | Keywords: has-patch
----------------------------+----------------------------
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
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17973>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list