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

WordPress Trac wp-trac at lists.automattic.com
Sat May 7 20:50:06 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 Denis-de-Bernardy):

 Replying to [comment:58 arnee]:
 > Sorry, I don't really see the benefit of including a 300-line library
 for generating "just" a random string. I think a sha1 hash of microtime()
 and the blog URL is enough random and unique for this case, a call to
 /dev/urandom or initializing COM objects sounds just a bit excessive, no?

 That entirely depends on how much what you're trying to do can cope with
 collisions.

 Also, fwiw, it's not "just" a random string. It's a 128bit integer.

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


More information about the wp-trac mailing list