[wp-trac] [WordPress Trac] #37057: Creation of an esc_html functions for _n(), _nx(), _ex(), and number_format_i18n()
WordPress Trac
noreply at wordpress.org
Fri Aug 11 20:21:33 UTC 2017
#37057: Creation of an esc_html functions for _n(), _nx(), _ex(), and
number_format_i18n()
--------------------------------------+------------------------------
Reporter: zakkath | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback | Focuses:
--------------------------------------+------------------------------
Comment (by zakkath):
I understand that, but you actually presented the code along the lines of
what I'm proposing be added in the case of an `esc_html_n()` function -
just a simple wrapper for `esc_html()` or `esc_attr()`.
Having the new functions just allows for consistency for theme developers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37057#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list