Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#47385 closed enhancement (wontfix)

Theme escaping

Reported by: Kushal.Shah210 Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

On twentyninteen theme comment with escaping html.

Attachments (1)

#47385.patch​ (1.5 KB ) - added by Kushal.Shah210 7 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
7 years ago

  • Component General → Bundled Theme
  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

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.

Note: See TracTickets for help on using tickets.