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

WordPress Trac noreply at wordpress.org
Sun Dec 3 23:21:43 UTC 2017


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

Comment (by Mista-Flo):

 Thanks for your review Felix.

 I guess it makes sense, I'm okay with that.

 Remark : Be carreful, my patch rely on new feature added in this patch :
 #13743. But it needs a refresh to use the new {network_get_default_theme}
 from this patch instead of always using
 {get_network_option}
  function.

 By the way, Tell me if we need to make a patch that is not linked to the
 other ticket mentioned above.

 I can also avoid repeating myself two times with :
 {{{#!php
 <?php
 $stylesheet = $theme->get_stylesheet();
 $template   = $theme->get_template();
 }}}

 I'll try to publish a new patch.

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


More information about the wp-trac mailing list