WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Security Checker
[resolved] Typo bug with activation/deactivation triggers code (2 posts)

  1. Vladimir Garagulya
    Member
    Posted 2 years ago #

    I found 2 small copy/paste bugs in Ultimate Security Checker v. 2.7.1. Please look at wp-ultimate-security.php file at line #37
    register_deactivation_hook( __FILE__, 'wp_ultimate_security_checker_activate' );
    You should put
    register_deactivation_hook( __FILE__, 'wp_ultimate_security_checker_deactivate' );
    there instead.

    The same for line #45 where you have
    register_deactivation_hook( __FILE__, 'wp_ultimate_security_checker_activate' );
    But it should be
    register_activation_hook( __FILE__, 'wp_ultimate_security_checker_activate' );
    instead.

    http://wordpress.org/extend/plugins/ultimate-security-checker/

  2. bsndev
    Member
    Plugin Author

    Posted 2 years ago #

    Hey, Vladimir, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic