[wp-hackers] Time to change GUID to UUID?

Matt Martz matt at sivel.net
Mon May 9 13:40:29 UTC 2011


On Mon, May 9, 2011 at 8:29 AM, Dougal Campbell <dougal at gunters.org> wrote:
> $uid = sha1 ( microtime() . AUTH_SALT . DB_NAME . $post->post_title .
> $post->ID )

While it is not sha1, the wp_hash function, will create a hash based
off of one of the salts.  Might as well use functions that already
exist to perform tasks such as this.

Not that I am weighing in on this topic, just including pertinent
information where I see it :)

-- 
Matt Martz
matt at sivel.net
http://sivel.net/


More information about the wp-hackers mailing list