[wp-trac] [WordPress Trac] #39713: Customize: Changeset post_date does not clear when an auto-draft is updated
WordPress Trac
noreply at wordpress.org
Thu Jan 26 22:04:04 UTC 2017
#39713: Customize: Changeset post_date does not clear when an auto-draft is updated
--------------------------+-------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.3
Component: Customize | Version: 4.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-------------------
By default the customizer will store the customized state in a
`customize_changeset` post that gets an `auto-draft` status so that it
will be garbage-collected after a week. In lieu of transitioning the
changeset post to a `draft` status (#31089), the intention was that such
changesets could be kept alive by simply making a modification every few
days to keep their `post_date` bumped so that it doesn't get a week stale
and so by deleted by `wp_delete_auto_drafts()`. This, however, is not
working. Once an auto-draft changeset is created, its post date is not
getting updated when updates are made to the post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39713>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list