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: |
|
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)
Note: See
TracTickets for help on using
tickets.
Related: #15090