Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#47384 closed enhancement (wontfix)

Need Escaping

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

Description

Add html with escaping function.

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
7 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
7 years ago

  • Component GeneralBootstrap/Load
  • Keywords close added

#3 @SergeyBiryukov
7 years ago

  • Keywords close removed
  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

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.