[wp-trac] [WordPress Trac] #11817: Better Site Menu Management

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 16 17:23:59 UTC 2010


#11817: Better Site Menu Management
-------------------------+--------------------------------------------------
 Reporter:  scribu       |        Owner:          
     Type:  enhancement  |       Status:  reopened
 Priority:  normal       |    Milestone:  3.0     
Component:  General      |      Version:          
 Severity:  normal       |   Resolution:          
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------

Comment(by ryan):

 {{{
 $id = sanitize_title_with_dashes( $post_type->label );
 $id = sanitize_title_with_dashes( $tax->label );
 }}}

 should be:

 {{{
 $id = $post_type->name;
 $id = $tax-name;
 }}}

 The label changes with translations and does not make a good ID.

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


More information about the wp-trac mailing list