[wp-trac] [WordPress Trac] #30724: Twenty Fifteen: Unnecessary use of esc_html()

WordPress Trac noreply at wordpress.org
Tue Dec 16 15:05:08 UTC 2014


#30724: Twenty Fifteen: Unnecessary use of esc_html()
------------------------------------------+-----------------------
 Reporter:  ocean90                       |       Owner:  ocean90
     Type:  defect (bug)                  |      Status:  accepted
 Priority:  high                          |   Milestone:  4.1
Component:  Bundled Theme                 |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+-----------------------

Comment (by TomasM):

 Is there anywhere a clear guidance for the theme developers on when to use
 escaping?

 I follow the development of _s and default WP themes to make my themes
 better and recently in Twenty Fifteen and _s there was escaping promoted.
 Now, when I applied those changes to my theme I will have to revert :-/

 Is there any harm for having escaping in place?

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


More information about the wp-trac mailing list