Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#47384 closed enhancement (wontfix)

Need Escaping

Reported by: kushalshah210's profile Kushal.Shah210 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bootstrap/Load Keywords: has-patch reporter-feedback
Focuses: Cc:

Description

Add html with escaping function.

Attachments (1)

#47384.patch (377 bytes) - added by Kushal.Shah210 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
5 years ago

  • Keywords reporter-feedback added

Hi @kushalshah210 , welcome to WordPress Trac.

What problem is this solving please? Note that your patch removes the use of __() which means the text can no longer be translated.

#2 @SergeyBiryukov
5 years ago

  • Component changed from General to Bootstrap/Load
  • Keywords close added

#3 @SergeyBiryukov
5 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

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.)

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.