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
Fixes strpos
in ComparisonOperation
for PHP 8
#44007
Fixes strpos
in ComparisonOperation
for PHP 8
#44007
Conversation
Hi @jorgeatorres, @chihsuan, @moon0326, @woocommerce/ghidorah Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
@@ -968,7 +968,7 @@ public static function get_rules_selling_offline() { | |||
'option_name' => 'woocommerce_onboarding_profile', | |||
'operation' => 'in', | |||
'value' => array( 'no_im_selling_offline', 'im_selling_both_online_and_offline' ), | |||
'default' => array(), | |||
'default' => '', |
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 defalt value is meant to be a string
Test Results SummaryCommit SHA: b4ac1d2
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
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 and tested well 👍 🚀
Changes proposed in this Pull Request:
selling_online_answer
inwoocommerce_onboarding_profile
to empty string.How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
Display suggestions within WooCommerce
checkboxSet up payments
Changelog entry
Significance
Type
Message
Comment