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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-02 21:23:26 +00:00
parent 72c23453d1
commit 32e86e7d3e
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;