[wp-trac] [WordPress Trac] #27000: taxonomy bug with microtime

WordPress Trac noreply at wordpress.org
Mon Feb 3 19:57:19 UTC 2014


#27000: taxonomy bug with microtime
----------------------------------------+--------------------
 Reporter:  _jameslee                   |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  3.9
Component:  Taxonomy                    |     Version:  3.8.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+--------------------

Comment (by _jameslee):

 {{{
 class-phpass.php:52:            $this->random_state = microtime() .
 uniqid(rand(), TRUE); // removed getmypid() for compatibility reasons
 class-phpass.php:68:                                md5(microtime() .
 $this->random_state);
 class-snoopy.php:1215:                          $this->_mime_boundary =
 "Snoopy".md5(uniqid(microtime()));
 comment.php:283:                        $last_changed = microtime();
 comment.php:1563:       wp_cache_set( 'last_changed', microtime(),
 'comment' );
 comment.php:2363:       wp_cache_set( 'last_changed', microtime(),
 'comment' );
 general-template.php:988:               $last_changed = microtime();
 pluggable.php:1612:             $rnd_value = md5( uniqid(microtime() .
 mt_rand(), true ) . $seed );
 post.php:3752:          $last_changed = microtime();
 post.php:4766:  wp_cache_set( 'last_changed', microtime(), 'posts' );
 taxonomy.php:1316:              $last_changed = microtime();
 taxonomy.php:2805:      wp_cache_set( 'last_changed', microtime(), 'terms'
 );
 }}}


 here is the list of all microtime usage in the wp-includes directory that
 do not have the bool value set.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27000#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list