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

WordPress Trac noreply at wordpress.org
Sat Jun 16 14:12:58 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:
-------------------------+--------------------------

Comment (by johnbillion):

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

 Props BjornW

 Fixes #43771

 Merges [43367] to the 4.9 branch.
 }}}

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


More information about the wp-trac mailing list