[wp-trac] [WordPress Trac] #55194: wp_rand( 0, 0) result in random integer
WordPress Trac
noreply at wordpress.org
Sun Apr 17 03:40:42 UTC 2022
#55194: wp_rand( 0, 0) result in random integer
--------------------------+---------------------
Reporter: mlajo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: General | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+---------------------
Comment (by acoulombe):
Replying to [comment:9 SergeyBiryukov]:
> On second thought, maybe we could still fix it, see
[attachment:55194.diff]. This would need a unit test and security review.
I'm working on writing tests based on your fix.
For my knowledge, i'm relatively new to contributing WordPress. How do you
normally work, can I make a pull request according to your .diff or do you
want to make one yourself ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55194#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list