| Conditions | 3 |
| Paths | 2 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | function maybe_log_failed_login_attempt( $failed_attempt ) { |
||
| 22 | $protect = \Jetpack_Protect_Module::instance(); |
||
| 23 | if ( $protect->has_login_ability() && ! Jetpack_Constants::is_true( 'XMLRPC_REQUEST' ) ) { |
||
| 24 | do_action( 'jetpack_valid_failed_login_attempt', $failed_attempt ); |
||
| 25 | } |
||
| 26 | } |
||
| 27 | } |
||
| 28 |