[wp-trac] [WordPress Trac] #27003: Introduce wp_get_network() and begin cleanup of multisite load

WordPress Trac noreply at wordpress.org
Thu Feb 13 23:06:14 UTC 2014


#27003: Introduce wp_get_network() and begin cleanup of multisite load
--------------------------------------------------+------------------------
 Reporter:  jeremyfelt                            |       Owner:
     Type:  enhancement                           |      Status:  new
 Priority:  normal                                |   Milestone:  3.9
Component:  Bootstrap/Load                        |     Version:  trunk
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:  multisite
--------------------------------------------------+------------------------

Comment (by nacin):

 In [changeset:"27178"]:
 {{{
 #!CommitTicketReference repository="" revision="27178"
 Multisite: Add get_network_by_path() and wp_get_network() to begin cleanup
 of multisite load.

 Tries to get network detection under control by simplifying
 wpmu_current_site(). It now also pops off each subdomain to find a more
 general match. Adds unit tests for get_network_by_path() and a new network
 factory for unit tests.

 Much of this is likely to change in 3.9 as more of ms-load.php and ms-
 settings.php gets hacked to bits.

 props jeremyfelt.
 see #27003.
 }}}

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


More information about the wp-trac mailing list