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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 18 22:29:03 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):

 Replying to [comment:8 SergeyBiryukov]:
 > How exactly can we move users table to a separate database? Perhaps we
 should check if it's in the same database and fall back to JOIN, since
 it's more simple.

 But there are several ways you can make queries to a separate DB: create a
 new WP_DB instance or use {{{SELECT * other_database.wp_users.*}}} etc.

 Also, the HyperDB plugin enables this.

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


More information about the wp-trac mailing list