[wp-trac] [WordPress Trac] #32504: WP_Network_Query class
WordPress Trac
noreply at wordpress.org
Tue Jun 28 21:17:31 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:"37893"]:
{{{
#!CommitTicketReference repository="" revision="37893"
Multisite: Introduce `get_network()`.
Given a network ID or network object, `get_network()` retrieves network
data in the same vein as `get_site()` or `get_post()`. This will allow for
clean retrieval of networks from a primed cache when `WP_Network_Query` is
implemented.
Props flixos90.
See #32504.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32504#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list