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

WordPress Trac noreply at wordpress.org
Sun Jun 26 15:02:40 UTC 2016


#37191: i18n request: Escaping single and plural form translated text
-----------------------------+-----------------------------
 Reporter:  henry.wright     |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  I18N             |    Version:  4.5.3
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I noticed there's {{{esc_html_e()}}} and {{{esc_attr_e()}}} which can be
 used in place of {{{_e()}}} to escape the translated text string.

 Can {{{esc_attr_n()}}} and {{{esc_attr_n()}}} functions be made to help us
 escape singular and plural translated text?

 Ref: https://codex.wordpress.org/Function_Reference/_n

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


More information about the wp-trac mailing list