Change WooCommerce Password Change to 6 Char

Like everyone else, the power of a password becomes ridiculous for customers. so I used the following which removed all password checks ("1" is now a valid password)

function remove_wc_password_meter() {
wp_dequeue_script( 'wc-password-strength-meter' );
}
add_action( 'wp_print_scripts', 'remove_wc_password_meter', 100 );

it's script based, is there a non-script way to require at least 6 char?

+4
source share
2 answers

What I did was a workaround for this code that completely removed the password check.

But also adding jquery and html password script (custom), so the interface still sees the password strength indicator, but it is disabled up to 8 characters.

, 12, - , wordpress "safe".

-1

!!! " WC" !!!!! ( )

, WooCommerce, WooCommerce> > . WC .

1 5, 1 , 5 - . , , , , , . 4 WooCommerce .

, . , , . , WooCommerce.

" " ( ).

" " , WooCommerce .

-1

All Articles