[wp-trac] [WordPress Trac] #12270: Incorrect menu active for edit custom taxonomy form

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 19 05:22:06 UTC 2010


#12270: Incorrect menu active for edit custom taxonomy form
----------------------------+-----------------------------------------------
 Reporter:  jfarthing84     |       Owner:             
     Type:  defect (bug)    |      Status:  new        
 Priority:  normal          |   Milestone:  3.0        
Component:  Administration  |     Version:  3.0        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------

Comment(by jfarthing84):

 I'm not sure you understood. Let's say I have a custom post type "movie".
 Within that product I have a few taxonomies: "actor", "director",
 "writer", etc.

 Now, when I visit "edit-tags.php?taxonomy=actor&post_type=movie" (which is
 the default menu created by WP), the correct menu item is highlighted
 ("Movies") along with the correct sub-menu ("Actors"). However, click the
 edit link for a specific term (i.e. "edit-
 tags.php?action=edit&taxonomy=actor" and then the "Posts" menu is
 highlighted with no submenu highlighted.

 This is due to no post_type being passed with the edit link, because the
 post_type is included in the key for the submenu. Same with the menu.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12270#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list