diff options
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-module-protect.php')
-rw-r--r-- | plugins/jetpack/sync/class.jetpack-sync-module-protect.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-module-protect.php b/plugins/jetpack/sync/class.jetpack-sync-module-protect.php index d81d3591..1385dd00 100644 --- a/plugins/jetpack/sync/class.jetpack-sync-module-protect.php +++ b/plugins/jetpack/sync/class.jetpack-sync-module-protect.php @@ -14,10 +14,10 @@ class Jetpack_Sync_Module_Protect extends Jetpack_Sync_Module { add_action( 'jetpack_valid_failed_login_attempt', $callback ); } - function maybe_log_failed_login_attempt( $ip ) { + function maybe_log_failed_login_attempt( $failed_attempt ) { $protect = Jetpack_Protect_Module::instance(); if ( $protect->has_login_ability() ) { - do_action( 'jetpack_valid_failed_login_attempt', $ip ); + do_action( 'jetpack_valid_failed_login_attempt', $failed_attempt ); } } } |