[wp-trac] [WordPress Trac] #30417: In multisite, Siteurl and Home url break when updating path via site-info.php and leaving off a leading slash

WordPress Trac noreply at wordpress.org
Thu Nov 20 15:09:24 UTC 2014


#30417: In multisite, Siteurl and Home url break when updating path via site-
info.php and leaving off a leading slash
-------------------------------------+------------------------------
 Reporter:  earnjam                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Networks and Sites       |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+------------------------------
Changes (by earnjam):

 * keywords:   => has-patch needs-testing


Comment:

 Patch [diff:30417.diff] requires [diff:18117.4.diff:ticket:18117].

 It moves the updating of `siteurl` and `home` to after the call to
 `update_blog_details()` where the path slashes get cleaned up from
 [diff:18117.4.diff:ticket:18117].

 It then can use those newly stored `domain` and `path` values to generate
 the new urls to be stored in the `siteurl` and `home` options.

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


More information about the wp-trac mailing list