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 PaymentGatewaySuggestionsDataSourcePoller and disable deprecation logging #46163
Fix PaymentGatewaySuggestionsDataSourcePoller and disable deprecation logging #46163
Conversation
Hi @chihsuan, @rjchow, @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: |
Hi @ilyasfoo , I built your branch and uploaded the zip and didn't see the error (and retested with the Beta and RC and witnessed it on both) - thanks! |
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.
Tested well for me - thanks a lot!
… logging (#46163) * Temporarily disable deprecation logging and use old DataSourcePoller class * Changelog * Update DataSourcePoller.php * Change to comment for lint * Typo again * Lint * Better comment from @nigeljamesstevenson
… logging (#46163) * Temporarily disable deprecation logging and use old DataSourcePoller class * Changelog * Update DataSourcePoller.php * Change to comment for lint * Typo again * Lint * Better comment from @nigeljamesstevenson
* Fix PaymentGatewaySuggestionsDataSourcePoller and disable deprecation logging (#46163) * Temporarily disable deprecation logging and use old DataSourcePoller class * Changelog * Update DataSourcePoller.php * Change to comment for lint * Typo again * Lint * Better comment from @nigeljamesstevenson * Prep for cherry pick 46163 --------- Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com> Co-authored-by: WooCommerce Bot <no-reply@woo.com>
… logging (#46163) * Temporarily disable deprecation logging and use old DataSourcePoller class * Changelog * Update DataSourcePoller.php * Change to comment for lint * Typo again * Lint * Better comment from @nigeljamesstevenson
… logging (#46163) * Temporarily disable deprecation logging and use old DataSourcePoller class * Changelog * Update DataSourcePoller.php * Change to comment for lint * Typo again * Lint * Better comment from @nigeljamesstevenson
Changes proposed in this Pull Request:
Addresses the following issues:
PaymentGatewaySuggestionsDataSourcePoller
(pb22l9-2AS-p2#comment-2838)Follow-up to #45892
PaymentGatewaySuggestionsDataSourcePoller
How to test the changes in this Pull Request:
Upgrade test
/wp-admin/plugin-install.php
WooCommerce > Status > Logs
and look forfatal-errors-*
logor
Downgrade test
/wp-admin/plugin-install.php
WooCommerce > Status > Logs
and look forfatal-errors-*
logError log test
tail -f /tmp/php-errors
Automattic\WooCommerce\Admin\DataSourcePoller is deprecated since version 8.8.0! Use Automattic\WooCommerce\Admin\RemoteSpecs\DataSourcePoller instead.
Changelog entry
Significance
Type
Message
Comment