Loosen/disable password policy

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.
enter image description here

4 s
4

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.

Leave a Comment