diff --git a/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php b/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php index 04007a188..5ae2bdc52 100644 --- a/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php +++ b/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php @@ -798,14 +798,15 @@ private function render_paypal_subscription_fields( WC_Product $product, Environ $subscription_plan = $product->get_meta( 'ppcp_subscription_plan' ); $subscription_plan_name = $product->get_meta( '_ppcp_subscription_plan_name' ); if ( $subscription_product && $subscription_plan ) { - $display_unlink_p = ' style="display: none;"'; + $display_unlink_p = 'display:none;'; if ( $enable_subscription_product !== 'yes' ) { $display_unlink_p = ''; } echo sprintf( // translators: %1$s and %2$s are button and wrapper html tags. esc_html__( '%1$sUnlink PayPal Subscription Plan%2$s', 'woocommerce-paypal-payments' ), - '

' ); echo sprintf(