Skip to content

Instantly share code, notes, and snippets.

@boogah boogah/nofsp.php Secret
Last active Feb 27, 2018

What would you like to do?
Deactivate Force Strong Passwords for WP Engine customers by dropping this file into mu-plugins.
Plugin Name: No FSP
Description: Deactivate Force Strong Passwords
Version: 0.1
Author: WP Engine
Author URI:
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
You can’t perform that action at this time.