esc_html__('The following files were added to your website.', 'all-in-one-wp-security-and-firewall'), 'files_removed' => esc_html__('The following files were removed from your website.', 'all-in-one-wp-security-and-firewall'), 'files_changed' => esc_html__('The following files were changed on your website.', 'all-in-one-wp-security-and-firewall') ); foreach ($file_change_types as $type => $description) { if (empty($last_scan_results[$type])) continue; echo '
' . esc_html($description) . '
'; $output = '
'; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; foreach ($last_scan_results[$type] as $key => $value) { $output .= ''; $output .= ''; $file_size = AIOWPSecurity_Utility::convert_numeric_size_to_text($value['filesize']); $output .= ''; $last_modified = AIOWPSecurity_Utility::convert_timestamp($value['last_modified']); $output .= ''; $output .= ''; } $output .= '
' . esc_html__('File', 'all-in-one-wp-security-and-firewall') . '' . esc_html__('File size', 'all-in-one-wp-security-and-firewall') . '' . esc_html__('File modified', 'all-in-one-wp-security-and-firewall') . '
' . esc_html($key) . '' . esc_html($file_size) . '' . esc_html($last_modified) . '
'; $output .= '
'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Variables escaped early inside HTML. echo $output; echo '
'; } ?>