#19479 closed defect (bug) (fixed)
esc_html_e() is only for translations
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Widgets | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Attachments (1)
Change History (6)
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed
comment:5
nbachiyski — 17 months ago
For the sake of completeness, I just want to mention that the parser is smart enough to only grab instances of gettext functions where they are called with literal strings. In these cases esc_attr_e() would have worked ok.
Having said that, I agree it's bad style to rely on the parser smartness.
Note: See
TracTickets for help on using
tickets.

In [19570]: