Make WordPress Core

Opened 5 years ago

Closed 2 years ago

Last modified 21 months ago

#16753 closed enhancement (maybelater)

PHP5-port - microtime() use

Reported by: hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: General Keywords: has-patch
Focuses: Cc:


See microtime() for details.

In microtime() related code uniqid() with more entropy does not need a prefix. And there is no need to seed the random number generator. See srand() for details.

Attachments (2)

16753.patch (3.0 KB) - added by hakre 5 years ago.
16753.2.patch (2.1 KB) - added by hakre 5 years ago.
w/o additional fixes

Download all attachments as: .zip

Change History (7)

5 years ago

5 years ago

w/o additional fixes

#1 @hakre
5 years ago

Second patch is making use of the new parameter only, leaving other places untouched so far.

#2 @nacin
5 years ago

  • Type changed from defect (bug) to enhancement

#3 @c3mdigital
2 years ago

  • Keywords close added; has-patch removed
  • Resolution set to maybelater
  • Status changed from new to closed

#4 @SergeyBiryukov
2 years ago

  • Keywords has-patch added; close removed
  • Milestone Awaiting Review deleted

#5 @jond3r
21 months ago

Note (to self): The proposed enhancements have since been fixed, except for those in akismet.php and pluggable.php.

Last edited 21 months ago by jond3r (previous) (diff)
Note: See TracTickets for help on using tickets.