[wp-trac] [WordPress Trac] #34308: The _n*() functions don't cater for a string that represents exactly one item

WordPress Trac noreply at wordpress.org
Thu Oct 15 05:55:01 UTC 2015


#34308: The _n*() functions don't cater for a string that represents exactly one
item
--------------------------------------+------------------------------
 Reporter:  johnbillion               |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |     Focuses:
--------------------------------------+------------------------------

Comment (by johnbillion):

 Another option would be to extend `_n_noop()` and allow a fourth parameter
 for the 'exactly one item' string, but this would result in it being the
 only l10n function which accepted a parameter that came after its
 textdomain parameter.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34308#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list