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

WordPress Trac noreply at wordpress.org
Sun Mar 1 06:24:31 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 close  |     Focuses:  template
-----------------------------------------+--------------------------

Comment (by rmccue):

 I disagree with close; core generates URLs ''by default'', but there's no
 reason a plugin can't change this. It can actually be intentional to
 change this, as otherwise when migrating domains, you might be left with
 GUIDs containing the old domain.

 I've seen sites change these to URNs instead (which would fail validation
 on `esc_url` right now I think, since presumably we don't allow the `urn`
 protocol). I think we should continue to support this.

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


More information about the wp-trac mailing list