| @@ -27,13 +27,13 @@ | ||
| 27 | 27 | 'is_wp_comment_spam', |
| 28 | 28 | ); |
| 29 | 29 | |
| 30 | 30 | foreach ( $methods as $method ) { |
| 31 | - if ( ! is_callable( array( self::class, $method ) ) ) { | |
| 31 | + if ( ! is_callable( array( __CLASS__, $method ) ) ) { | |
| 32 | 32 | continue; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - $is_spam = call_user_func( array( self::class, $method ), $values ); | |
| 35 | + $is_spam = call_user_func( array( __CLASS__, $method ), $values ); | |
| 36 | 36 | if ( $is_spam ) { |
| 37 | 37 | return $is_spam; |
| 38 | 38 | } |
| 39 | 39 | } |