[wp-trac] [WordPress Trac] #41336: Changeset saved with `publish` status and future date is not scheduled

WordPress Trac noreply at wordpress.org
Mon Sep 11 17:50:00 UTC 2017


#41336: Changeset saved with `publish` status and future date is not scheduled
--------------------------+--------------------------
 Reporter:  dlh           |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41372"]:
 {{{
 #!CommitTicketReference repository="" revision="41372"
 Customize: Align behavior of `WP_Customize_Manager::save_changeset_post()`
 with `wp_insert_post()` by setting status to `future` if supplied status
 is `publish` but date is future.

 Props dlh.
 Fixes #41336.
 }}}

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


More information about the wp-trac mailing list