[wp-trac] [WordPress Trac] #17376: Multisite Subfolders and bunk /wp-admin areas

WordPress Trac noreply at wordpress.org
Sat Mar 8 06:17:20 UTC 2014


#17376: Multisite Subfolders and bunk /wp-admin areas
-------------------------------------------------+-------------------------
 Reporter:  MadtownLems                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  3.9
Component:  Bootstrap/Load                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-unit-   |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by jeremyfelt):

 I wonder if we can take advantage of `get_site_by_path()` and/or
 `get_network_by_path()` to figure out where to redirect now. I haven't
 completely tested [attachment:17376.diff] yet, but the path positions seem
 pretty hard coded at first glance. We'll need to make sure this works for
 `foo.bar/path1/path2/wp-admin/` as well.

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


More information about the wp-trac mailing list