[wp-trac] [WordPress Trac] #40230: Is it intended to return 500 for this message: You can't give users that role. or Sorry, you are not allowed to give users that role.
WordPress Trac
noreply at wordpress.org
Sun Jun 25 18:45:35 UTC 2017
#40230: Is it intended to return 500 for this message: You can't give users that
role. or Sorry, you are not allowed to give users that role.
-------------------------------------+-----------------------------
Reporter: tuanmh | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by johnbillion):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"40940"]:
{{{
#!CommitTicketReference repository="" revision="40940"
Users: Use more appropriate HTTP status codes for errors relating to user
management.
Also re-uses one error message string.
Props tuanmh
Fixes #40230
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40230#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list