Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#42639 closed enhancement (wontfix)

_e() function should be deprecated.

Reported by: rnaby Owned by:
Priority: normal Milestone:
Component: I18N Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Most of the time this _e() is being caught by PHPCS for escaping and validation. And I noticed all of the time this _e() function can be replaced by more secure esc_html_e or esc_attr_e. So it seems like this _e() creates a confusion with these esc_html_e and esc_attr_e. Therefore I propose to deprecate this _e().

Change History (1)

#1 @ocean90
9 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed
  • Version trunk

For core, translations are inherently trusted because of various checks, including a review process for translations. This has been mentioned before in https://core.trac.wordpress.org/ticket/30724#comment:8 so I'm going to close this as wontfix.

Note: See TracTickets for help on using tickets.