[wp-trac] [WordPress Trac] #28633: Generate better random numbers

WordPress Trac noreply at wordpress.org
Wed Sep 23 03:59:23 UTC 2015


#28633: Generate better random numbers
-------------------------------------------+------------------------
 Reporter:  sarciszewski                   |       Owner:  dd32
     Type:  enhancement                    |      Status:  reviewing
 Priority:  normal                         |   Milestone:  4.4
Component:  Security                       |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  needs-testing has-patch early  |     Focuses:
-------------------------------------------+------------------------

Comment (by sarciszewski):

 Should it return `abs( $val );` or `absint( $val );`?

 Your patch for random_compat makes sense. I can't believe I overlooked
 that. As soon as you're ready, I'll merge it and tag version 1.0.2, which
 is what I'd propose to be included in WP 4.4.

 Thanks a ton, Dion.

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


More information about the wp-trac mailing list