[wp-trac] [WordPress Trac] #39228: Changeset generated even if no change?

WordPress Trac noreply at wordpress.org
Sat Dec 10 23:00:51 UTC 2016


#39228: Changeset generated even if no change?
--------------------------+----------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by westonruter):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This is expected. Once you change a setting in the customizer, it becomes
 dirty, and will remain dirty even if you set it back to what it was
 previously. I suggest following #21666 for having a specific UI for
 undo/redo history in a given customization session.

 And since the setting is made dirty, a `customize_changeset` post is
 indeed created. If you never publish the changes, it will remain with an
 `auto-draft` status and the post will be garbage-collected after a week.
 This is the same behavior as when you land on `wp-admin/post-new.php`: a
 new auto-draft is inserted every time you land on this page to create a
 new post, even if you never explicitly save a draft.

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


More information about the wp-trac mailing list