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

WordPress Trac noreply at wordpress.org
Wed Aug 30 22:13:29 UTC 2017


#41762: Use WP_Network_Query in ms_load_current_site_and_network
--------------------------------+------------------------------
 Reporter:  spacedmonkey        |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by spacedmonkey):

 Replace raw sql to the sites table with wp_network_query. Number of briefs
 to this, wp_network_query has filters that are run. Also network queries
 also have caching out of the box.

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


More information about the wp-trac mailing list