[wp-trac] [WordPress Trac] #57725: Use of rand() function instead of wp_rand()

WordPress Trac noreply at wordpress.org
Wed Feb 15 11:42:29 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:  needs-patch     |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by sakibmd):

 * Attachment "57725.diff" added.

 If we can want to use wp_rand() instead of rand() then it could be
 solution.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57725>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list