Make WordPress Core

Opened 5 years ago

Closed 2 years ago

Last modified 19 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)

@hakre5 years ago

@hakre5 years ago

w/o additional fixes

comment:1 @hakre5 years ago

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

comment:2 @nacin5 years ago

  • Type changed from defect (bug) to enhancement

comment:3 @c3mdigital2 years ago

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

comment:4 @SergeyBiryukov2 years ago

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

comment:5 @jond3r19 months ago

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

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