Multisite: Correct default values for `orderby` and `order` in `WP_Site_Query::__construct()`.
Add a unit test. Props ramiy, SergeyBiryukov. See #35791. Built from https://develop.svn.wordpress.org/trunk@38085 git-svn-id: http://core.svn.wordpress.org/trunk@38026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bf24773fc6
commit
eca1a22719
|
@ -155,8 +155,8 @@ class WP_Site_Query {
|
|||
'number' => 100,
|
||||
'offset' => '',
|
||||
'no_found_rows' => true,
|
||||
'orderby' => 'ids',
|
||||
'order' => 'DESC',
|
||||
'orderby' => 'id',
|
||||
'order' => 'ASC',
|
||||
'network_id' => 0,
|
||||
'network__in' => '',
|
||||
'network__not_in' => '',
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-beta3-38084';
|
||||
$wp_version = '4.6-beta3-38085';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue