[wp-trac] [WordPress Trac] #29684: Add get_main_site_id() function

WordPress Trac noreply at wordpress.org
Mon Sep 18 13:57:25 UTC 2017


#29684: Add get_main_site_id() function
-------------------------------------------------+-------------------------
 Reporter:  rmccue                               |       Owner:  flixos90
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.9
Component:  Networks and Sites                   |     Version:  3.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests ms-roadmap  |     Focuses:  multisite
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * keywords:  has-patch has-unit-tests ms-roadmap => has-patch has-unit-
     tests ms-roadmap needs-dev-note


Comment:

 @spacedmonkey Let's discuss these things in separate follow-up tickets,
 I'd propose one for passing network objects and another one for possibly
 using the `WP_Network::$blog_id` property in `is_main_site()`.

 I'm adding the `needs-dev-note` keyword since the function, filter and
 implications for `WP_Network::$blog_id` should probably be mentioned in
 our 4.9 note.

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


More information about the wp-trac mailing list