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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 6 09:38:36 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 SergeyBiryukov):

 Replying to [comment:5 kobenland]:
 > {{{
 > #!php
 > <?php
 > sprintf( _x( 'Select %s', 'taxonomy singular name' ), get_taxonomy(
 $current_taxonomy )->labels->singular_name );
 > }}}

 A simple `sprintf()` is not enough due to different grammatical cases, see
 [comment:ticket:19099:1] or [comment:ticket:17609:3].

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


More information about the wp-trac mailing list