[wp-trac] [WordPress Trac] #37191: i18n request: Escaping single and plural form translated text

WordPress Trac noreply at wordpress.org
Fri Aug 26 19:38:04 UTC 2016


#37191: i18n request: Escaping single and plural form translated text
-----------------------------+--------------------------
 Reporter:  henry.wright     |       Owner:  johnbillion
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  I18N             |     Version:  4.5.3
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------------

Comment (by henry.wright):

 > The reason is that the return value of the _n family of functions is
 almost always used as the $format parameter in printf() or sprintf()

 That makes sense. I can't think of a time when I've used the _n fam
 without sprintf or printf.

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


More information about the wp-trac mailing list