[wp-trac] [WordPress Trac] #42303: REST API: Post status controller has wrong view permission check error message
WordPress Trac
noreply at wordpress.org
Thu Oct 18 20:25:50 UTC 2018
#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: 5.0
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: rest-api
--------------------------+-----------------------
Changes (by danielbachhuber):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"43755" 43755]:
{{{
#!CommitTicketReference repository="" revision="43755"
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.
Merges [42356] to the 5.0 branch.
Fixes #42303.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42303#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list