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

WordPress Trac noreply at wordpress.org
Sat Dec 17 18:13:47 UTC 2016


#39318: Assign a theme when creating a site (Multisite)
-------------------------+-----------------------------
 Reporter:  Mista-Flo    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  3.0
 Severity:  normal       |   Keywords:
  Focuses:  multisite    |
-------------------------+-----------------------------
 This is a serie of multisite focus enhancements for themes, the major one
 is from #13743 that add a network default theme (I used this network
 option in this following patch).

 This ticket "Assign a theme when creating a site" was a shared idea
 discussed on WCUS, WC Cologne, etc.

 So here a first patch that just add a select input containing the
 activated themes of the current network. By default, the selected theme is
 WP_DEFAULT_THEME constant or the new default network option for theme.

 After the form is submited, we add stylesheet and template name to the
 $meta array, and {{{wpmu_create_blog}}} function makes an automatic update
 option with the right theme.

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


More information about the wp-trac mailing list