Default to id since registered doesn't have an index. see #15170

git-svn-id: https://develop.svn.wordpress.org/trunk@16157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-11-02 21:23:26 +00:00
parent e5684c63bc
commit d6e8a729a9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
// to avoid expensive count queries.
if ( !$s && ( get_blog_count() >= 10000 ) ) {
if ( !isset($_REQUEST['orderby']) )
$_GET['orderby'] = $_REQUEST['orderby'] = 'registered';
$_GET['orderby'] = $_REQUEST['orderby'] = 'id';
if ( !isset($_REQUEST['order']) )
$_GET['order'] = $_REQUEST['order'] = 'DESC';
$large_network = true;