mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-08-02 02:40:44 +08:00
Moves the wcs_get_subscriptions query out of disable_legacy_paypal_standard_on_connect into a protected count_wps_active_subscriptions method. The null/int return type distinguishes "WCS absent" from "zero active subs", and the protected visibility allows anonymous subclasses in unit tests to inject the count without needing function_exists mocking. |
||
|---|---|---|
| .. | ||
| Assets | ||
| PPEC | ||
| WooCommerceBlueprint | ||
| CompatModule.php | ||
| Integration.php | ||
| WcGiftCardsCompat.php | ||