Re-added password type attribute

This commit is contained in:
Peter Elmered 2015-12-07 18:06:02 +01:00
parent d624196924
commit 44df7c1c34
1 changed files with 1 additions and 1 deletions

View File

@ -1809,7 +1809,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) {
break; break;
case 'password' : 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; break;
case 'text' : case 'text' :