Make WordPress Core

Opened 14 years ago

Closed 12 years ago

Last modified 8 years ago

#16753 closed enhancement (duplicate)

PHP5-port - microtime() use

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

Description

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 14 years ago.
16753.2.patch (2.1 KB) - added by hakre 14 years ago.
w/o additional fixes

Download all attachments as: .zip

Change History (8)

@hakre
14 years ago

@hakre
14 years ago

w/o additional fixes

#1 @hakre
14 years ago

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

#2 @nacin
14 years ago

  • Type changed from defect (bug) to enhancement

#3 @c3mdigital
12 years ago

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

#4 @SergeyBiryukov
12 years ago

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

#5 @jond3r
11 years ago

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

Last edited 11 years ago by jond3r (previous) (diff)

#6 @SergeyBiryukov
8 years ago

  • Resolution changed from maybelater to duplicate

Duplicate of #19157.

Note: See TracTickets for help on using tickets.