[wp-trac] [WordPress Trac] #30294: Introduce get_main_network_id() function

WordPress Trac noreply at wordpress.org
Sun Jun 14 21:44:47 UTC 2015


#30294: Introduce get_main_network_id() function
--------------------------------+-------------------------
 Reporter:  johnjamesjacoby     |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.3
Component:  Networks and Sites  |     Version:  3.7
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32775"]:
 {{{
 #!CommitTicketReference repository="" revision="32775"
 Introduce get_main_network_id()

 Expand on the logic previously available as part of `is_main_network()`
 and provide a way to obtain the ID of the main network. Most useful in
 multi-network configurations.

 Props @johnjamesjacoby for the initial patch.
 Fixes #30294.
 }}}

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


More information about the wp-trac mailing list