WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#29315 closed defect (bug) (invalid)

REST API issue: Scheduled post's status doesnt change from "future" to "publish" even after the time is overdue

Reported by: tsiddhi Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: HTTP API Keywords:
Focuses: Cc:
PR Number:

Description

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"

Change History (2)

#1 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

REST API is not a part of WordPress core yet.

This should be reported to WordPress.com: http://en.support.wordpress.com/contact/.

#2 @johnbillion
5 years ago

As usual, Sergey beat me to this by a few seconds.

The best place to contact WordPress.com regarding their develop tools is via the contact page on the developer site: https://developer.wordpress.com/contact/

Note: See TracTickets for help on using tickets.