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

WordPress Trac noreply at wordpress.org
Tue Aug 13 20:18:09 UTC 2019


#44975: REST API support switching draft to unscheduled
-----------------------------+------------------------------
 Reporter:  mnelson4         |       Owner:  adamsilverstein
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  5.3
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by adamsilverstein):

 In [attachment:"44975.3.diff"]:
 * Use a `null` value in the test.
 * update doc blocks

 In my testing sending a null value works just like sending a blank string.
 I updated the test to use null and adjusted the doc blocks a little as
 well.

 Matching draft PR (with tests running): https://github.com/WordPress
 /wordpress-develop/pull/81

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


More information about the wp-trac mailing list