[wp-trac] [WordPress Trac] #35791: WP_Site_Query class
WordPress Trac
noreply at wordpress.org
Fri Apr 8 15:40:56 UTC 2016
#35791: WP_Site_Query class
--------------------------+------------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------+------------------------------
Comment (by spacedmonkey):
Did a first pass of the wp_site_query. I started by copying and pasting
the wp_comment_query the class and changing it around to fit purpose.
There is a LOT in the patch so there might be to much to explain here.
I have an example of an implementation in removing the guys of
wp_get_sites. I have also added _prime_site_caches and update_site_cache
functions.
Look forward to hearing feedback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35791#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list