Skip to content
Commit 7c5e2802 authored by Scott Taylor's avatar Scott Taylor
Browse files

`wp_get_post_revisions()` should have a default `orderby` of `date ID` to...

`wp_get_post_revisions()` should have a default `orderby` of `date ID` to tie-break rapidly added revisions - namely, when unit tests are run. There is a test that occasionally fails when running all tests, and always fails when running `phpunit tests/phpunit/tests/post/revisions.php `. This fixes that.

Fixes #26042.


Built from https://develop.svn.wordpress.org/trunk@27184


git-svn-id: https://core.svn.wordpress.org/trunk@27044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 44de0e59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment