[wp-trac] [WordPress Trac] #27866: Multisite subdirectory install breaks if network path has uppercase letters

WordPress Trac noreply at wordpress.org
Fri Apr 18 12:11:41 UTC 2014


#27866: Multisite subdirectory install breaks if network path has uppercase letters
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  3.9.1
Component:  Bootstrap/Load                       |     Version:  3.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by dlabbe):

 This seems to work. If you replace line 49 with the following.

 {{{
 $current_site->path = strtolower(PATH_CURRENT_SITE);
 }}}

 During my testing line 56 fails because $path is compiled with strtolower
 on line 38.

 Line 56
 {{{
     if ( $current_site->domain === $domain && $current_site->path ===
 $path ) {
 }}}

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


More information about the wp-trac mailing list