Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend, integrate with and defer to changesets in WP 4.7 #99

westonruter opened this issue Oct 26, 2016 · 1 comment


None yet
2 participants
Copy link

commented Oct 26, 2016

This is an important issue to complete before the 4.7 release in December.

The underlying architecture in snapshots was committed to core in WordPress 4.7-alpha. As such, the redundant code in snapshots should be only run if on 4.6 or less. All of the redundant code should be extracted into one or more back-compat classes.

Also, now that the post type is customize_changeset as opposed to customize_snapshot, there should be a data migration strategy. Also, any filters that apply on customize_snapshot_save should also apply onto customize_changeset_save_data.

Whenever a $_REQUEST['customize_snapshot_uuid'] is present we should during plugins_loaded make sure this gets mapped over to customize_changeset_uuid in $_GET, $_POST, and $_REQUEST.

In the end, the plugin should be reformulated to anticipate that more and more of the features of the plugin will be incorporated into core. So the more that we can facilitate turning off aspects of the code that are already in core, the better.


This comment has been minimized.

Copy link
Contributor Author

commented Oct 27, 2016

I created a gist that has some light extensions for changesets to add some snapshots UI, just for testing. Some of the code may be helpful:

The changesets post on Make/Core has some example API calls that should be used for creating drafts and scheduling changes via

@westonruter westonruter changed the title Integrate with and defer to changesets in WP 4.7 Extend, integrate with and defer to changesets in WP 4.7 Oct 27, 2016

@PatelUtkarsh PatelUtkarsh referenced this issue Nov 16, 2016


Integrate with changesets in WP 4.7 #102

1 of 1 task complete

@PatelUtkarsh PatelUtkarsh added this to the 0.6.0 milestone Feb 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.