Fix - Duplicate form-row class in woocommerce form field
This commit is contained in:
parent
7c28cb4d27
commit
74a0bbfc71
|
@ -2017,7 +2017,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) {
|
||||||
$field_html .= '<span class="description">' . esc_html( $args['description'] ) . '</span>';
|
$field_html .= '<span class="description">' . esc_html( $args['description'] ) . '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$container_class = 'form-row ' . esc_attr( implode( ' ', $args['class'] ) );
|
$container_class = esc_attr( implode( ' ', $args['class'] ) );
|
||||||
$container_id = esc_attr( $args['id'] ) . '_field';
|
$container_id = esc_attr( $args['id'] ) . '_field';
|
||||||
|
|
||||||
$after = ! empty( $args['clear'] ) ? '<div class="clear"></div>' : '';
|
$after = ! empty( $args['clear'] ) ? '<div class="clear"></div>' : '';
|
||||||
|
|
Loading…
Reference in New Issue