[wp-trac] [WordPress Trac] #31422: Permission errors should not return 500 server error.
WordPress Trac
noreply at wordpress.org
Sat Mar 7 05:59:20 UTC 2015
#31422: Permission errors should not return 500 server error.
--------------------------------+-------------------------
Reporter: yo-l1982 | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31658"]:
{{{
#!CommitTicketReference repository="" revision="31658"
Return HTTP status code 403 in network admin when access is forbidden.
When the error message "You do not have permission to access this page" is
used in network admin screens, return an HTTP status code of 403 to match.
Previously: [30356] and [31300].
Props yo-l1982.
Fixes #31422.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31422#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list