[wp-trac] [WordPress Trac] #57725: Use of rand() function instead of wp_rand()
WordPress Trac
noreply at wordpress.org
Wed Feb 15 11:46:11 UTC 2023
#57725: Use of rand() function instead of wp_rand()
----------------------------+-------------------------------
Reporter: haritpanchal | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Changes (by sakibmd):
* keywords: needs-patch => has-patch
Comment:
changes in file "wp-admin/includes/file.php" I just replace {{{ rand() }}}
by {{{ wp_rand() }}}
If {{{ wp_rand() }}} is encouraged to use.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57725#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list