[wp-trac] [WordPress Trac] #15861: Sorting users by post count

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 18 22:48:07 UTC 2012


#15861: Sorting users by post count
------------------------------------+-----------------------------
 Reporter:  scribu                  |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Administration          |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------

Comment (by scribu):

 So, it seems the "don't JOIN global tables with non-global tables" rule
 can be broken in the following case:

 {{{
 if ( !wp_is_large_network( 'users' ) && !defined( 'CUSTOM_USER_TABLE' ) &&
 !file_exists( WP_CONTENT_DIR . '/db.php' ) )
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15861#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list