Provide a secondary sort order for wp_get_archives() when type=postbypost.
Sorting by post_date alone can cause indeterminacy problems on different versions of MySQL when post_date ties need to be broken. Using `ID` as a secondary sort ensures that the order is always determinate. Props herbmillerjr for an initial patch. Fixes #30480. Built from https://develop.svn.wordpress.org/trunk@31452 git-svn-id: http://core.svn.wordpress.org/trunk@31433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31451';
|
||||
$wp_version = '4.2-alpha-31452';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user