[wp-trac] [WordPress Trac] #6492: Guids No Longer Have Permalink Format

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 2 20:35:28 UTC 2011

#6492: Guids No Longer Have Permalink Format
 Reporter:  brianwhite               |       Owner:  anonymous
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  2.5
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch guid featured  |

Comment (by Otto42):

 Replying to [comment:66 braydonf]:
 > So the GUID shouldn't be based on the URL, but what else would be used
 to get it if it where based on using a uuid, md5, sha1 hash that wouldn't
 change? Or could the GUID be a randomly generated hash and that would be
 its point of reference.

 The GUID can be anything that is "globally unique".

 > However if the GUID isn't a peramlink, how would the permalink be sent
 to RSS readers, since that is what is currently used.

 No, it's not. The GUID is *not* a permalink, and the spec specifically
 says not to treat it as one. It even has an isPermalink="false" attribute,
 just to push this idea across properly.

 The <link> tag contains the permalink to the post.

 > In feeds the GUID would need to stay the same, your right, otherwise
 there would be no point of reference.

 The GUID needs to stay the same, period. And the GUID should only be used
 in feeds. The fact that it's being used for other things is what is wrong.

Ticket URL: <http://core.trac.wordpress.org/ticket/6492#comment:67>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list