[wp-trac] [WordPress Trac] #56158: I've found an unescaped 'src' of an 'img' tag in 'wp-content/themes/twentyfourteen/header.php’ in line no 39. I think it should be escaped

WordPress Trac noreply at wordpress.org
Wed Jul 6 12:19:51 UTC 2022


#56158: I've found an unescaped 'src' of an 'img' tag in 'wp-
content/themes/twentyfourteen/header.php’ in line no 39. I think it should
be escaped
---------------------------+-------------------------------
 Reporter:  mahbubshovan   |       Owner:  sergeybiryukov
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:  coding-standards
---------------------------+-------------------------------

Comment (by audrasjb):

 Ah Dominik beat me on this :)

 (by the way, maybe we could consider adding a filter in `header_image()`,
 but that would be for another ticket!)

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


More information about the wp-trac mailing list