WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #37057


Ignore:
Timestamp:
06/09/2016 01:19:46 AM (5 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37057 – Description

    initial v2  
    33 Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '_nx'
    44
    5 Certain functions like _x(), _e(), __() all have equivalent esc_html functions. But there are no esc_html equivalent for these other functions.
     5Certain functions like `_x()`, `_e()`, `__()` all have equivalent esc_html functions. But there are no esc_html equivalent for these other functions.
    66
    7 Granted one could simply wrap the statements in esc_html(), for the sake of consistency and standardization for theme developers, I feel that esc_html versions of these functions should be created.
     7Granted one could simply wrap the statements in `esc_html()`, for the sake of consistency and standardization for theme developers, I feel that esc_html versions of these functions should be created.