Changes between Initial Version and Version 1 of Ticket #28633, comment 42
- Timestamp:
- 04/07/2015 01:43:00 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28633, comment 42
initial v1 1 1 `wp_external_random_positive_int()` is there to generate a random number along a range. If you use bitshifting to get `0..1023` then add the minimum (`-1000`), that should be suitable for `(-1000, -10)`. 2 3 (The result from `wp_external_random_positive_int()` will be discarded if it exceeds `989` in that case.)