Opened 6 years ago
Closed 6 years ago
#47385 closed enhancement (wontfix)
Theme escaping
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description
On twentyninteen theme comment with escaping html.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @kushalshah210, welcome to WordPress Trac! Thanks for the ticket and the patch.
Core translations (including bundled themes) are considered safe because we have a review process for them, see #42639 and the discussion in #30724. (Also related: #32233.) So these strings don't need escaping.
In WordPress core and bundled themes, strings are generally only escaped in attributes or in
<option>
tags.