[wp-trac] [WordPress Trac] #18117: get_blog_details is sensitive to path's trailing slash

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


#18117: get_blog_details is sensitive to path's trailing slash
---------------------------------+-----------------------------
 Reporter:  mitchoyoshitaka      |       Owner:  jeremyfelt
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  Future Release
Component:  Networks and Sites   |     Version:  3.0
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch 4.2-early  |     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/18117#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list