[wp-trac] [WordPress Trac] #10773: Blank submenu entry created when register_taxonomy arg "label" set to false.

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 13 01:26:59 UTC 2009


#10773: Blank submenu entry created when register_taxonomy arg "label" set to
false.
--------------------------+-------------------------------------------------
 Reporter:  batmoo        |       Owner:  filosofo  
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  Unassigned
Component:  Taxonomy      |     Version:  2.8.4     
 Severity:  minor         |    Keywords:            
--------------------------+-------------------------------------------------
 Setting label as false (as suggested in
 #[http://core.trac.wordpress.org/ticket/9945 #9945]) when calling
 register_taxonomy creates a blank submenu entry under "Posts". The entry
 has a valid link that goes to a "Tags" page for the registered taxonomy;
 this page should be accessible.

 Sample function call:
 register_taxonomy( 'test', 'post', array('hierarchical' => false,
 'update_count_callback' => '_update_post_term_count', 'label' => false,
 'query_var' =>false, 'rewrite' => false) );

 Change needs to be made in wp-admin/menu.php to check if the taxonomy has
 a valid label entry before creating submenu item.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10773>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list