[wp-trac] [WordPress Trac] #15089: wp_rand() can be asked for negative numbers but will never return them
WordPress Trac
noreply at wordpress.org
Fri Sep 16 21:04:33 UTC 2022
#15089: wp_rand() can be asked for negative numbers but will never return them
--------------------------------------+-----------------------
Reporter: hakre | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: lowest | Milestone: 6.1
Component: General | Version: 2.6
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+-----------------------
Comment (by sabernhardt):
Sorry for not being clear: the patch needed a refresh because lines around
your changes were edited. The function can return zero (now), so "non-
negative" should be correct.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15089#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list