[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 21:49:36 UTC 2009


#10773: Blank submenu entry created when register_taxonomy arg "label" set to
false.
--------------------------+-------------------------------------------------
 Reporter:  batmoo        |       Owner:  batmoo     
     Type:  defect (bug)  |      Status:  accepted   
 Priority:  low           |   Milestone:  2.9        
Component:  Taxonomy      |     Version:  2.8.4      
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)
  * keywords:  has-patch => needs-patch


Comment:

 Setting the label to false sounds like a horrid hack here.

 I think it would be better to improve the function as you suggested in
 #9945 to give the code registering the plugin more control.

 It would also probably be good to move the defaults for label out to the
 registration function to make it obvious it can be overloaded.

 Do you fancy working up a patch for this?

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


More information about the wp-trac mailing list