Updates to 7.5.0

This commit is contained in:
WooCommerce
2025-05-21 10:18:23 +00:00
parent c2175bfc37
commit 924e4d86bd
389 changed files with 7446 additions and 22486 deletions

View File

@@ -79,6 +79,7 @@ class WC_REST_Subscription_System_Status_Manager {
private static function get_payment_gateway_feature_support() {
$gateway_features = array();
// @phpstan-ignore property.notFound
foreach ( WC()->payment_gateways->get_available_payment_gateways() as $gateway_id => $gateway ) {
// Some gateways include array keys. For consistency, only send the values.
$gateway_features[ $gateway_id ] = array_values( (array) apply_filters( 'woocommerce_subscriptions_payment_gateway_features_list', $gateway->supports, $gateway ) );