WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 8 months ago

Last modified 6 weeks 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:

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

Download all attachments as: .zip

Change History (7)

hakre3 years ago

hakre3 years ago

w/o additional fixes

comment:1 hakre3 years ago

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

comment:2 nacin3 years ago

  • Type changed from defect (bug) to enhancement

comment:3 c3mdigital8 months ago

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

comment:4 SergeyBiryukov8 months ago

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

comment:5 jond3r6 weeks ago

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

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