* Refactor WooCommerce Helper class
This commit refactors the WooCommerce Helper class in the `class-wc-helper.php` file. The changes include:
- Updating the comparison operator from `==` to `===` in the `activate_plugin` condition.
- Renaming the `get_install_base_url` method to `get_woocommerce_com_base_url`.
- Adding a new `get_install_base_url` method that returns the base URL for the plugin auto installer.
These changes improve the readability and maintainability of the code.
* Refactor data source poller classes for marketing recommendations, payment gateway suggestions, shipping partner suggestions, inbox notifications, remote free extensions, and WooPayments promotion
- Refactor the data source poller classes for marketing recommendations, payment gateway suggestions, shipping partner suggestions, inbox notifications, remote free extensions, and WooPayments promotion to use a dynamic base URL for the data sources.
- Update the deprecated DATA_SOURCES constant to an empty array in each class.
- Add a new method get_data_sources() in each class to return the updated data sources with the dynamic base URL.
- Modify the constructor of each class to use the get_data_sources() method instead of the deprecated DATA_SOURCES constant.
* Add changelog
* Add set-woocom-base-url tool
* Add changelog
* Rename woo_com and woocom -> wccom
* Change to falsy check !url
* Change woocom/WOOCOM to wccom/WCCOM
* Change default value to https://woocommerce.com/
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Add tool to force the coming soon landing pages to display on the front-end
* Add changelog
* Revert line change
* Add doc comments and remove unnecessary check
* Invalidate caches
* Fix tools invalid json errors
* Set default value
* Call wc_beta_tester_override_coming_soon_options out of init
* Fix lint errors
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add Remote inbox notifications management
* Remove admin notes section -- replaced by remote inbox notifications
* Add import from staging and production
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
* WIP - change test to run
* Display failed rules on error
* Change run to test
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester, woocommerce
* Retire Remote Spec Ruel Validation -- use test action from Remote Inbox Notifications
* Run spec when all rules have passed
* Fix typo
* Change btn text to Run
* Update copy text
* Place delete all button on the left side
* Update plugins/woocommerce-beta-tester/api/remote-inbox-notifications/class-wca-test-helper-remote-inbox-notifications.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Update plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/RuleEvaluator.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Update plugins/woocommerce-beta-tester/api/remote-inbox-notifications/class-wca-test-helper-remote-inbox-notifications.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
* Separate remote inbox notification heler functions into a class and fix DELETE method errors
* Fix typo
* Display all errors
* Fix errors
* Fix error with test
* Add import from URL
* Change func name to importFromUrl
* Rename 48735-feature-remote-notiifcation-importer to 48735-feature-remote-notification-importer
Fix filename typo
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
* Fix changelog filename typo
Fix changelog filename typo
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
* Revert adding new changelog
It seems the new CI is automatically creating a changelog based on branch name 43d6abe3e7
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Add live-branches/install.php to API
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
---------
Co-authored-by: github-actions <github-actions@github.com>