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

WordPress Trac noreply at wordpress.org
Wed Oct 26 16:23:22 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:                  |     Focuses:
----------------------------+------------------------------

Comment (by timmydcrawford):

 I can see the reasoning there, though yes it is a tad confusing.  I
 suppose I just assumed that the object returned would always represent the
 current state in the database.

 The return of "true" makes sense now that you have explained it.  Perhaps
 we can wait and see what other feedback comes in around the topic to see
 if there is further confusion at all.

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


More information about the wp-trac mailing list