From 215bb8841d43e862e1b3b5a6d3085857a5efed2c Mon Sep 17 00:00:00 2001 From: Risto Niinemets Date: Tue, 10 Feb 2015 17:41:34 +0200 Subject: [PATCH] add input_class to all form field types --- includes/wc-template-functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index ff95dddcf74..b6a0fc18c47 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -1633,7 +1633,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) { $field = '

' . '' - . '' . ''; foreach ( $countries as $ckey => $cvalue ) { @@ -1681,7 +1681,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) { if ( $args['label'] ) $field .= ''; - $field .= ' '; foreach ( $states as $ckey => $cvalue ) { @@ -1735,7 +1735,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) { $field = '

'; if ( $args['description'] ) { @@ -1815,7 +1815,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) { if ( ! empty( $args['options'] ) ) { foreach ( $args['options'] as $option_key => $option_text ) { - $field .= ''; + $field .= ''; $field .= ''; } }