WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 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:
Priority: lowest Milestone:
Component: Inline Docs Version: 3.0
Severity: trivial Keywords:
Cc:

Description

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)

comment:1 hakre3 years ago

Related: #15090

comment:2 westi2 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.