[wp-trac] [WordPress Trac] #30294: Introduce get_primary_network_id() function
WordPress Trac
noreply at wordpress.org
Sun Nov 9 00:22:46 UTC 2014
#30294: Introduce get_primary_network_id() function
--------------------------------+-----------------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 3.7
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
r25147 introduced the function `is_main_network()` for determining if a
network ID was the main/primary one. Coupled to this function is the logic
for determining what the primary network ID actually is.
It would be helpful for that logic to be extracted into a separate
function for determining the primary network ID.
See #25030, r25147.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30294>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list