[wp-trac] [WordPress Trac] #59239: wp_generate_uuid4 collisions
WordPress Trac
noreply at wordpress.org
Thu Jan 8 16:37:11 UTC 2026
#59239: wp_generate_uuid4 collisions
--------------------------+---------------------
Reporter: joppuyo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by johnbillion):
One concern I have is that with this change in place,
`wp_generate_uuid4()` now relies on a pluggable function. This means it
would break any code that calls `wp_generate_uuid4()` before the
`plugins_loaded` hook. What's the likelihood of this? Low, but perhaps a
plugin somewhere is generating a UUID for each request for logging
purposes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59239#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list