[wp-trac] [WordPress Trac] #43771: use wp_rand instead of mt_rand()

WordPress Trac noreply at wordpress.org
Sat Jun 16 14:10:00 UTC 2018


#43771: use wp_rand instead of mt_rand()
-------------------------+--------------------------
 Reporter:  BjornW       |       Owner:  johnbillion
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.9.7
Component:  Security     |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  needs-patch  |     Focuses:
-------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43367" 43367]:
 {{{
 #!CommitTicketReference repository="" revision="43367"
 Security: Harden the random aspect of the hash used for user profile and
 admin email address changes.

 Props BjornW

 Fixes #43771
 }}}

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


More information about the wp-trac mailing list