Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44975


Ignore:
Timestamp:
09/23/2018 12:50:15 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44975 – Description

    initial v1  
    1 [[https://core.trac.wordpress.org/ticket/39953|Trac ticket 33995] allows REST API clients to send a post's date in a POST request, and either leave the post as "date floating" (draft that says 'Publish immediately') switch it to be "non-date-floating" (draft that says 'Schedule for...').
     1Ticket #39953 allows REST API clients to send a post's date in a POST request, and either leave the post as "date floating" (draft that says 'Publish immediately') switch it to be "non-date-floating" (draft that says 'Schedule for...').
    22
    33However, REST API clients cannot make a request to switch the post BACK to being "date floating" (mentioned on https://core.trac.wordpress.org/ticket/39953#comment:25 and https://core.trac.wordpress.org/ticket/39953#comment:34).
    44
    5 This option isn't available in WordPress' default editor either (see https://core.trac.wordpress.org/ticket/8368#comment:20). However, from my testing, WordPress.com's Calypso editor DOES allow this. Also there's [[https://core.trac.wordpress.org/ticket/8368|a very old ticket suggesting it be added]], so it seems reasonable that the REST API should support this (and maybe Gutenberg too someday).
     5This option isn't available in WordPress' default editor either (see https://core.trac.wordpress.org/ticket/8368#comment:20). However, from my testing, WordPress.com's Calypso editor DOES allow this. Also there's a very old ticket suggesting it be added: #8368, so it seems reasonable that the REST API should support this (and maybe Gutenberg too someday).
    66
    77So how should a REST API client specify they want to switch a post back to date floating (say "Publish immediately" in the classic editor)?