[wp-trac] [WordPress Trac] #38977: REST API: `password` is incorrectly included in arguments to get a media item

WordPress Trac noreply at wordpress.org
Fri Dec 16 05:45:52 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39610"]:
 {{{
 #!CommitTicketReference repository="" revision="39610"
 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.

 Props jnylen0.
 Merges [39595] to the 4.7 branch.
 Fixes #38977.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38977#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list