[wp-trac] [WordPress Trac] #49536: Twenty Twenty: Add esc_html_e on the modal-search.php

WordPress Trac noreply at wordpress.org
Thu Feb 27 21:49:28 UTC 2020


#49536: Twenty Twenty: Add esc_html_e on the modal-search.php
---------------------------+-------------------------------
 Reporter:  fahimmurshed   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:  invalid
 Keywords:  has-patch      |     Focuses:  coding-standards
---------------------------+-------------------------------

Comment (by SergeyBiryukov):

 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.) Not all of Theme Check suggestions apply
 here.

 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/49536#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list