[wp-trac] [WordPress Trac] #42303: REST API: Post status controller has wrong view permission check error message
WordPress Trac
noreply at wordpress.org
Sun Dec 3 20:48:37 UTC 2017
#42303: REST API: Post status controller has wrong view permission check error
message
--------------------------+------------------------------
Reporter: schlessera | Owner: joehoyle
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: rest-api
--------------------------+------------------------------
Changes (by joehoyle):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"42356"]:
{{{
#!CommitTicketReference repository="" revision="42356"
REST API: Fix permissions error message in post statuses controller.
The permissions error message when a request tries to fetch post statuses
unauthenticated is incorrect. It was a copy/paste from elsewhere, as
indicated by the use of "in this post type" where this is no post type
referenced.
Props schlessera.
Fixes #42303.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42303#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list