mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 00:00:15 +00:00
Multisite: Correct default values for orderby and order in WP_Site_Query::__construct().
Add a unit test. Props ramiy, SergeyBiryukov. See #35791. git-svn-id: https://develop.svn.wordpress.org/trunk@38085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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' => '',
|
||||
|
||||
Reference in New Issue
Block a user