[wp-trac] [WordPress Trac] #38494: WP REST API: Stale Post Status on DELETE of Post

WordPress Trac noreply at wordpress.org
Tue Nov 1 20:17:53 UTC 2016


#38494: WP REST API: Stale Post Status on DELETE of Post
--------------------------------------+------------------------------
 Reporter:  timmydcrawford            |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by timmydcrawford):

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


Comment:

 Based on the feedback left above, I have added a diff that changes the
 following responses from {{{ delete_item }}}:

 - Returns latest post object when DELETE is issued without force=true
 - Returns {{{ true }}} on force=true

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


More information about the wp-trac mailing list