-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix .wp-env.json to WP 5.8.1 #36333
Fix .wp-env.json to WP 5.8.1 #36333
Conversation
Since pinning to other commits didn't appear to work, I've tried pinning this to WordPress 5.8.1 and skipping the test introduced in #35611. This leaves one remaining failing test, |
Try fixing .wp-env.json to the 5.8 branch as a temporary fix for Gutenberg CI. This should unblock Gutenberg developers while the plugin is made compatible with WordPress trunk.
… core WP_Theme_JSON_Resolver class
995e595
to
5a8a001
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The e2es and performance tests are now passing, so just giving this the ✅. Do folks think this is okay to merge now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Fix .wp-env.json to WP 5.8 Try fixing .wp-env.json to the 5.8 branch as a temporary fix for Gutenberg CI. This should unblock Gutenberg developers while the plugin is made compatible with WordPress trunk. * Pin to 5.8.1 to fix majority of unit test failures * Pin to specific sha that fixed php unit tests * Try a different sha * Try pinning to 5.8.1 and skipping failing test that requires 5.9 * Fix linting issue * Update merges child theme JSON test to use Gutenberg class instead of core WP_Theme_JSON_Resolver class Co-authored-by: Glen Davies <[email protected]> Co-authored-by: Andrew Serong <[email protected]>
Cherry picked into the Gutenberg 11.9 release in: 00b7a54 |
Try fixing .wp-env.json to the 5.8.1 branch as a temporary fix for Gutenberg CI. This should unblock Gutenberg developers while the plugin is made compatible with WordPress trunk.
Other changes include:
test_kses_doesnt_change_fixtures
tests introduced in Tests: Run block fixtures through KSES. #35611. These tests depend on a change in WordPress 5.9 (https://core.trac.wordpress.org/ticket/54261), so in order to get the tests passing in 5.8.1, for the moment these tests are marked as skipped.test_merges_child_theme_json_into_parent_theme_json
test for the theme resolver was pointing to the coreWP_Theme_JSON_Resolver
class instead of the Gutenberg oneWP_Theme_JSON_Resolver_Gutenberg
. This PR updates the test to use the latter so we're targeting the Gutenberg class.