[wp-trac] [WordPress Trac] #29315: REST API issue: Scheduled post's status doesnt change from "future" to "publish" even after the time is overdue

WordPress Trac noreply at wordpress.org
Fri Aug 22 11:48:39 UTC 2014


#29315: REST API issue: Scheduled post's status doesnt change from "future" to
"publish" even after the time is overdue
--------------------------+-----------------------------
 Reporter:  tsiddhi       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 API Link :
 "https://developer.wordpress.com/docs/api/1/get/sites/%24site/posts/%24post_ID/";

 steps to produce the issue :

 1) create a new post by providing a future date to "date" parameter and
 "status" parameter as "publish" for the following API :
 https://developer.wordpress.com/docs/api/1/post/sites/%24site/posts/%24post_ID/

 2) It creates a new post and returns its status as "Future".

 3) Once the future date-time is overdue, still the getPost API returns the
 "status" of that particular post as "future".

 Ideally, once the provided scheduled time is overdue the status should be
 returned as "Published"

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29315>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list