Opened 3 years ago
Closed 2 years ago
#15090 closed defect (bug) (maybelater)
wp_rand() max integer is guessed and might fail
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | General | Version: | 3.0 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
the wp_rand() function returns a (forced) integer value. for this it assumes a maximum of a 32 bit unsigned integer.
wordpress uses signed integer values. the made assumption will fail on 32 bit systems then.
wordpress minimum php requirements prevent the use of constants like PHP_INT_MAX for 3.0.x and 3.1.x.
Change History (3)
Note: See
TracTickets for help on using
tickets.

Related: #15098