[wp-trac] [WordPress Trac] #37218: get_main_network_id should use WP_Network_Query
WordPress Trac
noreply at wordpress.org
Tue Jun 28 22:50:41 UTC 2016
#37218: get_main_network_id should use WP_Network_Query
--------------------------------+-----------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: trunk
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
The get_main_network_id is used in the bootstrap process to load the
network object. With the new WP_Network_Query class, we should use that to
load the network id. Using WP_Network_Query we gain filters and caching.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37218>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list