[wp-trac] [WordPress Trac] #59239: wp_generate_uuid4 collisions

WordPress Trac noreply at wordpress.org
Wed Mar 18 21:34:26 UTC 2026


#59239: wp_generate_uuid4 collisions
--------------------------------------------+-----------------------
 Reporter:  joppuyo                         |       Owner:  jorbin
     Type:  defect (bug)                    |      Status:  assigned
 Priority:  normal                          |   Milestone:  7.0
Component:  General                         |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+-----------------------

Comment (by siliconforks):

 Isn't `mt_rand` the problem here, though?  Wouldn't it be better to use
 `random_int` instead?

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


More information about the wp-trac mailing list