[wp-trac] [WordPress Trac] #32504: WP_Network_Query class
WordPress Trac
noreply at wordpress.org
Tue Jun 28 21:26:49 UTC 2016
#32504: WP_Network_Query class
--------------------------------------+-------------------------
Reporter: jeremyfelt | Owner: jeremyfelt
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+-------------------------
Comment (by jeremyfelt):
In [changeset:"37894"]:
{{{
#!CommitTicketReference repository="" revision="37894"
Multisite: Introduce `WP_Network_Query`.
Provides a consistent way to query `$wpdb->site` for `WP_Network` objects
based on domain, path, network ID, and (main) site ID.
Introduces and uses update_network_cache() and _prime_network_caches() to
maintain a cached list of WP_Network objects for use in multiple queries.
Props flixos90.
See #32504.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32504#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list