[wp-trac] [WordPress Trac] #23865: Trailing slash is not enforced when editing the path for a subdirectory site in multisite

WordPress Trac noreply at wordpress.org
Mon Jan 12 01:42:47 UTC 2015


#23865: Trailing slash is not enforced when editing the path for a subdirectory
site in multisite
-------------------------------------------------+-------------------------
 Reporter:  simonwheatley                        |       Owner:  jeremyfelt
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  Future
Component:  Networks and Sites                   |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch dev-feedback needs-        |  Resolution:  fixed
  refresh                                        |     Focuses:  multisite
-------------------------------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31155"]:
 {{{
 #!CommitTicketReference repository="" revision="31155"
 Enforce leading and trailing slashes on paths updated with
 `update_blog_details()`

 In multisite, core expects the stored value for a site's path to have
 leading and trailing slashes. When these slashes are missing, it becomes
 impossible to visit the site.

 This enforces proper `/path/` creation in `update_blog_details()`, most
 likely used when updating an existing site through `site-info.php`.

 Props earnjam, simonwheatley.

 Fixes #18117. Fixes #23865.
 }}}

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


More information about the wp-trac mailing list