[wp-trac] [WordPress Trac] #39318: Assign a theme when creating a site (Multisite)

WordPress Trac noreply at wordpress.org
Wed Mar 13 20:50:42 UTC 2019


#39318: Assign a theme when creating a site (Multisite)
-------------------------------------+-----------------------------
 Reporter:  Mista-Flo                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Networks and Sites       |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+-----------------------------
Changes (by swissspidy):

 * milestone:  Awaiting Review => Future Release


Comment:

 Hey @Mista-Flo, sorry for the delay here. Multisite isn't really my field
 of expertise, so I leave this to the more knowledgable :-)

 If you wanna help move this forward by addressing the last notes, that
 would be awesome.

 The concern was this:

 > I think we need to implement methods `WP_Theme::site_enable_theme(
 $stylesheets, $site_id )` and `WP_Theme::site_disable_theme( $stylesheets,
 $site_id )`. That should happen in a separate ticket though. When that is
 done, we can complete work on this one here. Everything else in this
 ticket here is ready.

 These methods would be like `\WP_Theme::network_enable_theme()` and
 `\WP_Theme::network_disable_theme`, but just for a single site, not for
 all sites in a network.

 If you want to help move this forward, I think it can also happen in this
 ticket though for the sake of easier development.

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


More information about the wp-trac mailing list