Re-added password type attribute
This commit is contained in:
parent
d624196924
commit
44df7c1c34
|
@ -1809,7 +1809,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) {
|
|||
break;
|
||||
case 'password' :
|
||||
|
||||
$field .= '<input type="" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) .'" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
|
||||
$field .= '<input type="password" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) .'" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
|
||||
|
||||
break;
|
||||
case 'text' :
|
||||
|
|
Loading…
Reference in New Issue