[wp-trac] [WordPress Trac] #6492: Guids No Longer Have Permalink Format
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 2 23:08:47 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 braydonf):
Replying to [comment:67 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".
>
UUID here would be unique, since there is extremely small probability of
collision. After calculating 70,368,744,177,664 random UUIDs the
probability of a duplicate is 0.0000000004
Ref:
http://en.wikipedia.org/wiki/Universally_unique_identifier#Random_UUID_probability_of_duplicates
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6492#comment:68>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list