[wp-trac] [WordPress Trac] #41215: Escaping the value of the srcset attribute

WordPress Trac noreply at wordpress.org
Fri Jun 30 21:20:24 UTC 2017


#41215: Escaping the value of the srcset attribute
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by henry.wright):

 @joemcgill I guess if "2x" will remain a literal string and isn't likely
 to become a variable at a later date then I agree running {{{esc_attr()}}}
 will be a waste. Happy to go with 41215.diff :)

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


More information about the wp-trac mailing list