[wp-trac] [WordPress Trac] #30294: Introduce get_primary_network_id() function
WordPress Trac
noreply at wordpress.org
Wed Nov 12 04:28:42 UTC 2014
#30294: Introduce get_primary_network_id() function
--------------------------------+-----------------------------
Reporter: johnjamesjacoby | Owner: jeremyfelt
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Networks and Sites | Version: 3.7
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+-----------------------------
Comment (by rmccue):
Replying to [comment:3 jeremyfelt]:
> My only use case so far has only really been for a shaky
`switch_to_network()` system. I've spent some time thinking of how else it
could be used or when it would be likely for a primary network to ever
change. It would be interesting to hear some other possible use cases. I
guess sunsetting an entire network and firing up a new one could be
interesting.
For Happytables, we're using networks for each whitelabel instance we
have. The main network is our own one, which has different behaviour from
the whitelabel platform. We're also loading in things like the super
admins from the main network regardless of network settings to simplify
the behaviour there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30294#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list