[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 22:34:55 UTC 2022


#15089: wp_rand() can be asked for negative numbers but will never return them
---------------------------------------------+-----------------------
 Reporter:  hakre                            |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  lowest                           |   Milestone:  6.1
Component:  General                          |     Version:  2.6
 Severity:  minor                            |  Resolution:
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs
---------------------------------------------+-----------------------
Changes (by audrasjb):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch commit
 * owner:  (none) => audrasjb
 * status:  reopened => accepted


Comment:

 I added a commit to the above PR to replace "positive" with "non-
 negative".

 Self assigning for `commit`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/15089#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list