Make WordPress Core

Changeset 17024


Ignore:
Timestamp:
12/17/2010 10:25:27 AM (13 years ago)
Author:
scribu
Message:

Disable sorting by post count for now. See #15861

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-users-list-table.php

    r17013 r17024  
    170170            'name'     => 'name',
    171171            'email'    => 'email',
    172             'posts'    => 'post_count',
    173172        );
    174173
  • trunk/wp-includes/user.php

    r17013 r17024  
    432432            $orderby = 'display_name';
    433433        } elseif ( 'post_count' == $qv['orderby'] ) {
     434            // todo: avoid the JOIN
    434435            $where = get_posts_by_author_sql('post');
    435436            $this->query_from .= " LEFT OUTER JOIN (
Note: See TracChangeset for help on using the changeset viewer.