boogah / nofsp.php secret
Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Deactivate Force Strong Passwords for WP Engine customers by dropping this file into mu-plugins.

View nofsp.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php
/*
Plugin Name: No FSP
Description: Deactivate Force Strong Passwords
Version: 0.1
Author: WP Engine
Author URI: http://wpengine.com/
License: GPLv2
*/
add_action('init', function() {
remove_action( 'admin_enqueue_scripts', 'slt_fsp_enqueue_force_zxcvbn_script' );
remove_action( 'login_enqueue_scripts', 'slt_fsp_enqueue_force_zxcvbn_script' );
remove_action( 'user_profile_update_errors', 'slt_fsp_validate_profile_update', 0, 3 );
remove_action( 'validate_password_reset', 'slt_fsp_validate_strong_password', 10, 2 );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.