diff --git a/includes/gateways/class-wc-payment-gateway-cc.php b/includes/gateways/class-wc-payment-gateway-cc.php index 642cd643ae778..e560efed26e20 100644 --- a/includes/gateways/class-wc-payment-gateway-cc.php +++ b/includes/gateways/class-wc-payment-gateway-cc.php @@ -10,7 +10,7 @@ * @package WooCommerce/Classes * @author WooThemes */ -class WC_Payment_Gateway_CC extends WC_Payment_Gateway { +abstract class WC_Payment_Gateway_CC extends WC_Payment_Gateway { /** * Builds our payment fields area - including tokenization fields and the actualy payment fields. @@ -42,9 +42,8 @@ public function payment_fields() { public function form() { $html = ''; $fields = array(); - $cvc_class = ''; - $cvc_field = '
+ $cvc_field = '
'; diff --git a/includes/gateways/class-wc-payment-gateway-echeck.php b/includes/gateways/class-wc-payment-gateway-echeck.php index d69aac55e7339..a5ab6b446e831 100644 --- a/includes/gateways/class-wc-payment-gateway-echeck.php +++ b/includes/gateways/class-wc-payment-gateway-echeck.php @@ -10,7 +10,7 @@ * @package WooCommerce/Classes * @author WooThemes */ -class WC_Payment_Gateway_eCheck extends WC_Payment_Gateway { +abstract class WC_Payment_Gateway_eCheck extends WC_Payment_Gateway { /** * Builds our payment fields area - including tokenization fields and the actualy payment fields. diff --git a/templates/myaccount/payment-methods.php b/templates/myaccount/payment-methods.php index 7182ca02514d6..dd955e882a870 100644 --- a/templates/myaccount/payment-methods.php +++ b/templates/myaccount/payment-methods.php @@ -44,11 +44,6 @@ $methods ) : ?> -