Repository navigation
Commit 21a88de
committed
Tests: Use the recognized
Merges [64016] to the 7.0 branch, limited to the `orderby` correction in `tests/phpunit/tests/query/thePost.php`. The sticky-post and canonical rewrite changes are not included.
Use `ID` instead of `id` so the query orders child pages by their IDs rather than falling back to their shared date.
Developed in: #13968
Props jonsurrell, adrianmoldovanwp, lucatume.
See #65893.
git-svn-id: https://develop.svn.wordpress.org/branches/7.0@64098 602fd350-edb4-49c9-b593-d223f7449a82ID ordering in a query test.1 parent 9a39c9f commit 21a88de
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments