[wp-trac] [WordPress Trac] #47385: Theme escaping

WordPress Trac noreply at wordpress.org
Sat May 25 12:17:48 UTC 2019


#47385: Theme escaping
----------------------------+----------------------
 Reporter:  Kushal.Shah210  |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bundled Theme   |     Version:
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  has-patch       |     Focuses:
----------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => wontfix
 * component:  General => Bundled Theme
 * milestone:  Awaiting Review =>


Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47385#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list