Can anyone guide me in the right direction on how to loosen or disable the strong password policy?
Would like to do it without the use of a plugin.
I’m running a non-public site and don’t need strong security.
4 s
This will do it 🙂
add_action( 'wp_print_scripts', 'DisableStrongPW', 100 );
function DisableStrongPW() {
if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) {
wp_dequeue_script( 'wc-password-strength-meter' );
}
}
I found the solution here.