[wp-trac] [WordPress Trac] #63175: Tests: Improve Unit tests for 'wp_unique_id_from_values()'
WordPress Trac
noreply at wordpress.org
Thu Mar 27 06:53:10 UTC 2025
#63175: Tests: Improve Unit tests for 'wp_unique_id_from_values()'
--------------------------------------+---------------------
Reporter: joemcgill | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: tests
--------------------------------------+---------------------
Comment (by devsahadat):
Thank you for identifying this issue and for providing a solution. I can
confirm that the original unit tests for wp_unique_id_from_values()
assumed consistent hash outputs, which led to test failures in
environments with different data serialization methods, as highlighted in
the bug report.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63175#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list