Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Populate back-compat customized state up front for parity with changesets #127

Merged
merged 1 commit into from Mar 3, 2017

Conversation

westonruter
Copy link
Contributor

I ran into an issue on 4.6 when back-compat snapshots are enabled where attempting to publish a snapshot from the WP Admin would fail and show an “Unrecognized setting” error shown in the WP Admin screen for the snapshots.

This specific plugin had a customize_dynamic_setting_args filter that would short-circuit if the unsanitized_post_values lacked a value for the given $setting_id. This is probably a deficiency with the other plugin as I don't see why it would need to do this, but in any case this ensures the plugin works in 4.6 with back compat snapshots as well as in 4.7 with changesets.

@westonruter westonruter added this to the 0.6.0 milestone Mar 2, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling efd1bdf on bugfix/populate-customized-state-early into ** on develop**.

1 similar comment
@coveralls
Copy link

coveralls commented Mar 2, 2017

Coverage Status

Changes Unknown when pulling efd1bdf on bugfix/populate-customized-state-early into ** on develop**.

@westonruter westonruter merged commit 5e15e85 into develop Mar 3, 2017
@westonruter westonruter deleted the bugfix/populate-customized-state-early branch March 3, 2017 04:20
@westonruter westonruter restored the bugfix/populate-customized-state-early branch March 3, 2017 04:26
@valendesigns valendesigns deleted the bugfix/populate-customized-state-early branch August 23, 2017 01:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants