[wp-trac] [WordPress Trac] #49645: get_item function broken in rest-api

WordPress Trac noreply at wordpress.org
Fri Mar 13 19:35:27 UTC 2020


#49645: get_item function broken in rest-api
-------------------------------------------------+-------------------------
 Reporter:  yohannp                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.5
Component:  REST API                             |     Version:  5.3
 Severity:  major                                |  Resolution:
 Keywords:  needs-patch good-first-bug needs-    |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => needs-patch good-first-bug needs-unit-tests
 * version:  5.3.2 => 5.3
 * milestone:  Awaiting Review => 5.5


Comment:

 Chatting with @kadamwhite it looks like that check is meant to be on line
 #391. In other words, right before checking if the user has permission to
 delete a revision, make sure they have permission to delete the parent
 item as well.

 Would you be interested in working on a patch?

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


More information about the wp-trac mailing list