[wp-trac] [WordPress Trac] #54127: Twenty Twenty-One: Missing esc_html__() in functions.php

WordPress Trac noreply at wordpress.org
Thu Sep 16 18:21:32 UTC 2021


#54127: Twenty Twenty-One: Missing esc_html__() in functions.php
---------------------------+-------------------------------
 Reporter:  teucrium       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.9
Component:  Bundled Theme  |     Version:  5.8.1
 Severity:  minor          |  Resolution:
 Keywords:  has-patch      |     Focuses:  coding-standards
---------------------------+-------------------------------

Comment (by mukesh27):

 Replying to [comment:5 SergeyBiryukov]:
 > Personally, I think either way is fine. As these themes are periodically
 updated for better block editor support, I guess we could address the
 escaping as well.

 Yes we should escape other old themes.

 PR looks fine and ready to marge.

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


More information about the wp-trac mailing list