[wp-trac] [WordPress Trac] #49190: Consider escaping get_the_title() in default themes

WordPress Trac noreply at wordpress.org
Fri Jan 17 03:19:33 UTC 2020


#49190: Consider escaping get_the_title() in default themes
------------------------------+---------------------
 Reporter:  kjellr            |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.4
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch commit
 * milestone:  Awaiting Review => 5.4


Comment:

 Replying to [comment:4 kjellr]:
 > That was my initial assumption, before seeing the linked suggestion in
 the `_s` repository.

 Just noting that `_s` tends to over-escape things, apparently per
 WordPress.com VIP guidelines, see the discussion in
 comment:10:ticket:30724.

 [attachment:"49190.diff"] looks good.

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


More information about the wp-trac mailing list