[wp-trac] [WordPress Trac] #38977: REST API: `password` is incorrectly included in arguments to get a media item
WordPress Trac
noreply at wordpress.org
Tue Dec 13 03:51:03 UTC 2016
#38977: REST API: `password` is incorrectly included in arguments to get a media
item
---------------------------------------------+----------------------
Reporter: jnylen0 | Owner: jnylen0
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.1
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+----------------------
Changes (by jnylen0):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"39595"]:
{{{
#!CommitTicketReference repository="" revision="39595"
REST API: Do not include the `password` argument when getting media items
Currently, `attachment` is the only post type exposed via the REST API
that
does not support password protection, but it's possible for other post
types to
remove password support.
Fixes #38977.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38977#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list