| @@ -181,16 +181,8 @@ | ||
| 181 | 181 | $log->is_ip_blacklisted = ( '' !== $ip_val && in_array( $ip_val, $ip_blacklist, true ) ); |
| 182 | 182 | $log->is_ua_whitelisted = ( '' !== $ua_val && in_array( $ua_val, $ua_whitelist, true ) ); |
| 183 | 183 | $log->is_ua_blacklisted = ( '' !== $ua_val && in_array( $ua_val, $ua_blacklist, true ) ); |
| 184 | 184 | $log->request_uri = Vigilante_Activity_Log::extract_request_uri( $log->extra_data ?? '' ); |
| 185 | - // Same explanation as the first page load: without this, an entry | |
| 186 | - // reached by filtering or paginating would open a popup with less | |
| 187 | - // in it than the same entry opened from the first page. | |
| 188 | - $log->self_guidance = Vigilante_Self_Integrity_Guidance::for_log_event( | |
| 189 | - (string) ( $log->event_action ?? '' ), | |
| 190 | - $log->extra_data ?? '', | |
| 191 | - (string) ( $log->severity ?? 'info' ) | |
| 192 | - ); | |
| 193 | 185 | } |
| 194 | 186 | |
| 195 | 187 | wp_send_json_success( array( |
| 196 | 188 | 'logs' => $logs, |