Use WordPress wp_get_password_hint() function to display passowd hint
Closes #13534
This commit is contained in:
parent
6b959e8625
commit
377fbf9c44
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue