Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #17376, comment 10


Ignore:
Timestamp:
01/31/2014 01:08:41 PM (9 years ago)
Author:
Denis-de-Bernardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17376, comment 10

    v1 v2  
    1313- 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 first with a url mismatch, the second with a correct url.)
    1414
    15 I predict that the first behavior (17367.diff) is in fact better, in the sense that it allows end-users to see and fix their typos in the url.
     15I predict that the first behavior (17367.diff) is in fact better, in the sense that it allows end-users to see and fix their typos in the url. It might make sense to enforce the same kind of thing for super-admins. If you'd rather that, I can change the patch accordingly by using wp_die() instead of redirecting.
    1616
    1717The wording of the error could possibly be improved. (Please suggest if you've anything better.)