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

WordPress Trac noreply at wordpress.org
Tue Dec 16 14:59:11 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 adamsilverstein):

 Replying to [comment:6 ocean90]:
 > In [changeset:"30905"]:
 > {{{
 > #!CommitTicketReference repository="" revision="30905"
 > Twenty Fifteen: Remove unnecessary `esc_html()` from `get_the_date()`
 and `get_the_modified_date()`.
 >
 > see #30724.
 > }}}

 @ocean90: I'm curious about your removal of escaping from translations -
 can you briefly explain/point me to the the logic? I am always suspicious
 of translations as a malicious script injection vector, is this not the
 case?

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


More information about the wp-trac mailing list