Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#15089 closed defect (bug) (maybelater)

wp_rand() can be asked for negative numbers but will never return them

Reported by: hakre Owned by:
Milestone: Priority: lowest
Severity: trivial Version: 3.0
Component: Inline Docs Keywords:
Focuses: Cc:


wp_rand() has a min and a max parameter to address a wish which number to get back.

Unfourtionatly the function is unable to handle negative numbers w/o having this documented.

Change History (2)

#1 @hakre
8 years ago

Related: #15090

#2 @westi
7 years ago

  • Component changed from General to Inline Docs
  • Milestone Awaiting Review deleted
  • Priority changed from normal to lowest
  • Resolution set to maybe later
  • Severity changed from normal to trivial
  • Status changed from new to closed

No patch and no traction closing for now.

Note: See TracTickets for help on using tickets.