[wp-trac] [WordPress Trac] #17376: Multisite Subfolders and bunk /wp-admin areas
WordPress Trac
noreply at wordpress.org
Fri Jan 31 12:55:31 UTC 2014
#17376: Multisite Subfolders and bunk /wp-admin areas
-------------------------------------------------+-------------------------
Reporter: MadtownLems | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Bootstrap/Load | Release
Severity: normal | Version:
Keywords: has-patch dev-feedback needs-unit- | Resolution:
tests | Focuses: multisite
-------------------------------------------------+-------------------------
Comment (by Denis-de-Bernardy):
@ocean90:
Changes to the original patch:
- reformatted the code somewhat
- fixed the invalid comments
- added doc-blocks
- prevented the plugin screen's "unknown error" from firing by changing
the semantics of the extra $_GET param
Tests done:
- Getting redirected as super-admin works as expected: you end up on the
live site with an error message
- Getting redirected as a non-super-admin "nearly" works as expected:
17376.diff keeps you at the same url, while 17376.2.diff redirects you to
the dev site first. In both cases, you're then greeted with large error
message because your permissions don't allow you to visit the site's admin
area.
The wording of the error could possibly be improved. (Please suggest if
you've anything better.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17376#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list