[wp-trac] [WordPress Trac] #22816: Multisite WP_Query

WordPress Trac noreply at wordpress.org
Fri Dec 7 19:32:32 UTC 2012


#22816: Multisite WP_Query
-----------------------------+------------------------------
 Reporter:  ciapci           |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Multisite        |     Version:
 Severity:  major            |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by wonderboymusic):

 Pretty much everyone who builds something like this ends up making a join
 table that has post_ids and blog_ids or makes a bunch of requests, smashes
 them together, and then stores blog_id, post_id, post_date (or any
 relevant field you want to sort on) in memory or in a table so that they
 can paginate.

 The idea you propose is definitely a good one but probably doesn't jive
 with our super-weird schema. I did this exact thing on eMusic for tag
 archives, here is some relevant code:
 https://gist.github.com/84da29af561229357f07

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


More information about the wp-trac mailing list