Merge pull request #13537 from woocommerce/fix-13534

Use WordPress wp_get_password_hint() function to display passowd hint
This commit is contained in:
Mike Jolley 2017-03-10 10:43:23 +00:00 committed by GitHub
commit 58e4e318b0
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;
}