Use WordPress wp_get_password_hint() function to display passowd hint

Closes #13534
This commit is contained in:
Claudio Sanches 2017-03-10 00:47:17 -03:00
parent 6b959e8625
commit 377fbf9c44
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ class WC_Frontend_Scripts {
return array(
'min_password_strength' => apply_filters( 'woocommerce_min_password_strength', 3 ),
'i18n_password_error' => esc_attr__( 'Please enter a stronger password.', 'woocommerce' ),
'i18n_password_hint' => esc_attr__( 'The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).', 'woocommerce' ),
'i18n_password_hint' => esc_attr( wp_get_password_hint() ),
);
break;
}