[wp-trac] [WordPress Trac] #41807: Save Main site id as a network option

WordPress Trac noreply at wordpress.org
Wed Sep 6 01:41:02 UTC 2017


#41807: Save Main site id as a network option
--------------------------------+------------------------------
 Reporter:  spacedmonkey        |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by johnjamesjacoby):

 When will the domain and path of the main site ID not match what’s in
 `wp_blogs`?

 Doesn’t it put the cart before the horse to store this site ID in network
 meta, because `wp_blogs` needs to get queried to know which site and
 network to load anyways, and the network knows what it’s main site is?

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


More information about the wp-trac mailing list