Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
019e7f0 to
0f9d7c6
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
0f9d7c6 to
9ff39c9
Compare
9ff39c9 to
0159db4
Compare
andrewserong
left a comment
There was a problem hiding this comment.
LGTM! Matches #34355 exactly
0159db4 to
f64f3cf
Compare
Part of #82935.
What?
Matches
Test_Widget::update()in the e2e test plugin (packages/e2e-tests/plugins/class-test-widget.php) to the parent signature,WP_Widget::update( $new_instance, $old_instance ). It also guards the$instance['title']read inform()withisset(), as upstream does. Only the e2e test plugin changes.Why?
On PHP 8 (which
wp-envuses here, since.wp-env.jsonsets nophpVersion), the incompatibleupdate( $new_instance )signature is a fatal error. WordPress refuses to activate thegutenberg-test-widgetsplugin, sospecs/widgets/customizing-widgets.test.jstimes out inactivatePlugin()on every run.Upstream
A straight port of #34355 (b2c4a00), which applies cleanly. That fix reached
wp/5.9but neverwp/5.8.wp/5.7and older don't have this plugin.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
🤖 Generated with Claude Code