Can you alter the default wordpress strong password requirements?

See the answer here https://wordpress.stackexchange.com/a/356727/29416 , which states Currently it’s not possible to change the strength requirements of the password. You can only deactivate it the functionality completely by dequeueing the password script: add_action( ‘wp_print_scripts’, ‘DisableStrongPW’, 100 ); function DisableStrongPW() { if ( wp_script_is( ‘user-profile’, ‘enqueued’ ) ) { wp_dequeue_script( ‘user-profile’ ); } } For … Read more

‘random_password’ filters not taking effect

I think, your PHP syntax is wrong. Try these, function wpgenerapass_generate_password( $password, $length, $special_chars, $extra_special_chars ) { $chars=”abcdefghijklmnopqrstuvwxyz”; $chars .= ‘ABCDEFGHIJKLMNOPQRSTUVWXYZ’; $chars .= ‘0123456789’; $chars .= ‘!@#$%^&*()’; if ( $extra_special_chars ) { $chars .= ‘-_ []{}<>~`+=,.;:/?|’; } $wpgenerapass_password = ”; // Initialize the password string $password_length = 8; for ( $i = 0; $i < … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)