[wp-trac] [WordPress Trac] #21165: Make categories widget work with custom taxonomies

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 6 09:22:42 UTC 2012


#21165: Make categories widget work with custom taxonomies
-------------------------+------------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by kobenland):

 Replying to [comment:2 scribu]:
 > I guess we'll have to introduce a new 'select' label to
 register_taxonomy(), so that we can do this:
 > {{{
 > get_taxonomy( $current_taxonomy )->labels->select;
 > }}}

 Why not use `sprintf( _x( 'Select %s', 'taxonomy singular name' ),
 get_taxonomy( $current_taxonomy )->labels->singular_name );`?

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


More information about the wp-trac mailing list