[wp-trac] [WordPress Trac] #44975: REST API support switching draft to unscheduled

WordPress Trac noreply at wordpress.org
Mon Jul 29 17:33:57 UTC 2019


#44975: REST API support switching draft to unscheduled
-----------------------------+-----------------------------
 Reporter:  mnelson4         |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------

Comment (by adamsilverstein):

 > I am in favor of this ticket, and believe the appropriate response to
 accept to restore floating date status would be null,

 Accepting `null` absolutely makes sense: inserting null for these crates
 the `floating` date (it is the default database value for these fields).
 Not sure about accepting `false` or `''` - `null` seems more explicit.

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


More information about the wp-trac mailing list