[wp-trac] [WordPress Trac] #17376: Multisite Subfolders and bunk /wp-admin areas
WordPress Trac
noreply at wordpress.org
Tue Mar 25 21:49:33 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):
Replying to [comment:19 nacin]:
> I'm not sure I want to add is_admin() to get_site_by_path() as it would
be adding global state to a general utility function.
Agreed, that felt ugly.
> (I'm not sure if strcasecmp() is needed here; it probably isn't.)
I think we're clear in core. I'm not sure if it's probable that a sunrise
is passing different cases that could get caught up here, so it may be
worth leaving in.
+1 for the [attachment:17376.4.diff], works in my testing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17376#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list