[wp-trac] [WordPress Trac] #37217: get_network_by_path should use WP_Network_Query

WordPress Trac noreply at wordpress.org
Tue Jun 28 22:28:42 UTC 2016


#37217: get_network_by_path 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_network_by_path 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 object. Using WP_Network_Query we gain filters and
 caching.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37217>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list