[wp-trac] [WordPress Trac] #41762: Use WP_Network_Query in ms_load_current_site_and_network

WordPress Trac noreply at wordpress.org
Tue Oct 3 19:26:03 UTC 2017


#41762: Use WP_Network_Query in ms_load_current_site_and_network
--------------------------------+------------------------
 Reporter:  spacedmonkey        |       Owner:  flixos90
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.9
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41718"]:
 {{{
 #!CommitTicketReference repository="" revision="41718"
 Multisite: Use `WP_Network_Query` in `ms_load_current_site_and_network()`.

 This gets rid of the last readonly direct database query for networks in
 core. 🎉

 Props spacedmonkey.
 Fixes #41762.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41762#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list