[wp-trac] [WordPress Trac] #31080: GUID should not always be escaped for url in feeds

WordPress Trac noreply at wordpress.org
Fri Mar 6 16:52:59 UTC 2015


#31080: GUID should not always be escaped for url in feeds
-----------------------------------+--------------------------
 Reporter:  CheeseDurger           |       Owner:  stevenkword
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.2
Component:  Feeds                  |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  template
-----------------------------------+--------------------------
Changes (by helen):

 * keywords:  2nd-opinion has-patch close => 2nd-opinion has-patch


Comment:

 In lieu of changing this outright for everybody, and the potential
 consequences that lie within, what if we switch to hooking `esc_url()` in?
 This would allow for those who want to use the GUID for something other
 than a URL to unhook and hook in something more appropriate like
 `esc_html()`.

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


More information about the wp-trac mailing list