[wp-trac] [WordPress Trac] #27287: siteurl is missing WordPress path when creating a new site

WordPress Trac noreply at wordpress.org
Sat Jun 14 23:41:29 UTC 2014


#27287: siteurl is missing WordPress path when creating a new site
--------------------------------+-----------------------------
 Reporter:  danielbachhuber     |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by Compute):

 Adding a filter for the meta wpmu_create_blog
 https://core.trac.wordpress.org/ticket/28540 would make this task even
 easier.

 Just adding:
 {{{
 $meta['siteurl'] = esc_url( $domain . '/wp );
 }}}
 To this filter would do the trick.

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


More information about the wp-trac mailing list