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

WordPress Trac noreply at wordpress.org
Tue Sep 16 04:58:51 UTC 2014


#29684: Add get_main_site() function
--------------------------------+-----------------------------
 Reporter:  rmccue              |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  3.9
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 At the moment, the code that works out the main site for a network is
 locked away in `ms-settings.php`. We should move this out into a function
 that `ms-settings.php` can then use (ala `get_site_by_path` logic).

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


More information about the wp-trac mailing list