Opened 8 years ago
Closed 8 years ago
#39713 closed defect (bug) (fixed)
Customize: Changeset post_date does not bump when an auto-draft is updated
Reported by: | westonruter | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.7.3 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Customize | Keywords: | has-patch has-unit-tests commit fixed-major |
Focuses: | Cc: |
Description
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.
Change History (6)
#1
@
8 years ago
- Keywords has-patch needs-testing has-unit-tests added
- Owner set to westonruter
- Status changed from new to accepted
#2
@
8 years ago
- Summary changed from Customize: Changeset post_date does not clear when an auto-draft is updated to Customize: Changeset post_date does not bump when an auto-draft is updated
Note: See
TracTickets for help on using
tickets.
See patch in https://github.com/xwp/wordpress-develop/pull/213