[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:25:37 UTC 2016


#38977: REST API: `password` is incorrectly included in arguments to get a media
item
---------------------------------------------+-----------------------
 Reporter:  jnylen0                          |       Owner:  jnylen0
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  4.7.1
Component:  REST API                         |     Version:  4.7
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by pento):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 Let's go with [attachment:38977.diff].

 I'm not worried about the performance impact, and while I would like to
 see `post_type_supports()` support `password`, that'll be a fairly
 significant amount of work, way outside of the scope of this ticket.

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


More information about the wp-trac mailing list