[wp-trac] [WordPress Trac] #27289: Add populate_network action

WordPress Trac noreply at wordpress.org
Sun Jun 29 18:18:06 UTC 2014


#27289: Add populate_network action
--------------------------------+-----------------------------
 Reporter:  rmccue              |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by jeremyfelt):

 I've wanted this too.

 There are two scenarios for `populate_network()`. In the most common,
 we're moving a single site install to multisite and applying initial
 configuration. In the other, it is called separately to create a new
 network. When a new network is created manually, the steps for assigning a
 main site are skipped and you're on your own to complete the setup tasks
 that need to run.

 Where does the action make sense in this? If it makes sense for both
 cases, we may need to pass some contextual information. If it only makes
 sense for initial install, `populate_network` may not be the right name
 for the action.

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


More information about the wp-trac mailing list