woocommerce/plugins/woocommerce-beta-tester/changelog
Chi-Hsuan Huang 442cb4e81b
[Beta tester] Add tool for changing woocommerce.com base URL (#51537)
* 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>
2024-09-24 19:37:57 +08:00
..
.gitkeep add changelogger and changelog entry 2022-04-21 11:39:41 +12:00
50372-48150-move-patterns-endpoint CYS - Move the `ai/patterns` endpoint to woocommerce admin API (#50372) 2024-08-20 15:17:27 +02:00
50467-add-beta-tester-wcpay-test-order [Beta Tester] Add WCPay test order meta data (#50467) 2024-08-14 10:08:59 +12:00
50508-fix-beta-tester-build-deps [Beta Tester] Fix build:zip script to make sure dependencies are built first (#50508) 2024-08-09 20:43:26 +12:00
50518-fix-beta-tester-build [Beta Tester] Fix build step (#50518) 2024-08-13 11:17:33 +12:00
50568-update-wp-env wp-env: Update package dependency + add mysqlPort (#50568) 2024-08-12 12:56:49 -07:00
50654-add-beta-tester-wccom-endpoints-mods [Beta Tester] Add tool to force wccom endpoint errors or timeout (#50654) 2024-08-19 20:35:59 +12:00
50828-dev-constrain-pnpm-version Use syncpack to lock pnpm version till we can fix issues (#50828) 2024-08-22 12:34:42 +12:00
add-beta-tester-tool-fake-wcpay [Beta tester] Add fake WooPayments completion tool (#50699) 2024-08-22 10:27:35 +08:00
dev-beta-tester-prepare-release-2-4-0 Prepare 2.4.0 Beta Tester Release (#50461) 2024-08-08 14:20:44 +08:00
dev-beta-tester-wccom-base-url-tool [Beta tester] Add tool for changing woocommerce.com base URL (#51537) 2024-09-24 19:37:57 +08:00
dev-simulate-error-before-wp-loaded [beta tester] Simulate core error early in the request lifecycle before WP fully loaded. (#51330) 2024-09-19 12:22:53 +08:00
enhance-reduce-remote-logging-noise Reducing Noise in Remote Logging (#51357) 2024-09-18 08:57:32 +08:00
fix-remote-logging-tool-cache [Beta Tester] Flush cache after deleting option and resetting PHP rate limit (#50512) 2024-08-12 18:05:01 +08:00
update-deprecate-banner-layout Deprecate unsupported Inbox note banner layout (#51275) 2024-09-13 01:11:11 +00:00
update-move-woo-version-check Enhance WooCommerce version checking for remote logging reliability (#51009) 2024-08-30 20:25:52 +08:00
update-woo-pay-task Refactor WooCommercePayments task to use woo payment gateway from`WC()->payment_gateways->payment_gateways()` (#50953) 2024-08-28 10:44:28 +08:00