6a89723685
* Change default PP Standard should_load logic to be more strict when setting to true * Remove filter allowing stores to enable PayPal Standard programmatically * Adds new function to check if the store has any PayPal Standard orders * Upgrade script that disables PayPal Standard on stores that aren't using it. * Add changelog entries * Fix extra comma * PayPal email is defaulted to the admin email which means checking needs_setup() isn't reliable * Load PayPal standard in unit tests * Before installing WC, set the Paypal Standard should load to true * Remove unnecessary ternary when setting default should_load * On upgrading WC, only check for PayPal Standard live keys to determine if it's setup * Remove admin notice if PayPal Standard is disabled on ugprade * Display an admin notice if the store is using the deprecated filter to load PayPal Standard. * Add docblock comment above the apply filters * Added checks around the filter and give pref to enabled. git add . * Remove the should load filter notice. * Add comment noting that init class shouldnt be removed. * Use proper casting for this->enabled before usage. --------- Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com> |
||
---|---|---|
.. | ||
woo-ai | ||
woocommerce | ||
woocommerce-admin | ||
woocommerce-beta-tester | ||
woocommerce-blocks |