[wp-trac] [WordPress Trac] #16755: PHP5-port - uniqid()
WordPress Trac
noreply at wordpress.org
Fri Aug 9 06:13:14 UTC 2013
#16755: PHP5-port - uniqid()
-------------------------+-------------------------
Reporter: hakre | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version: 3.1
Severity: normal | Resolution: worksforme
Keywords: |
-------------------------+-------------------------
Changes (by dd32):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
The only locations within core (and not within a external library) where
we're using uniqid() are the following:
{{{
wp-includes/functions.php
1477: return win_is_writable( $path . uniqid( mt_rand() ) .
'.tmp');
1479: return win_is_writable( $path . '/' . uniqid( mt_rand() )
. '.tmp' );
wp-includes/pluggable.php
1527: $rnd_value = md5( uniqid(microtime() . mt_rand(), true ) .
$seed );
}}}
In neither of these uses is using `$prefix` exactly bad, or causes any
issues.
Closing, as there's no need to update this code, it works, and it's not
buggy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16755#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list