[wp-trac] [WordPress Trac] #39713: Customize: Changeset post_date does not bump when an auto-draft is updated

WordPress Trac noreply at wordpress.org
Sun Feb 5 06:39:00 UTC 2017


#39713: Customize: Changeset post_date does not bump when an auto-draft is updated
---------------------------------------------+--------------------------
 Reporter:  westonruter                      |       Owner:  westonruter
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7.3
Component:  Customize                        |     Version:  4.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"40041"]:
 {{{
 #!CommitTicketReference repository="" revision="40041"
 Customize: Extend auto-draft life of a `customize_changeset` post whenever
 modified.

 Keep bumping the date for the auto-draft to preserve it from garbage-
 collection via `wp_delete_auto_drafts()` after 7 days.

 See #30937.
 Fixes #39713.
 }}}

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


More information about the wp-trac mailing list