WordPress 7.1.2: critical core security fix. Update now, then check inactive themes and comments.

Details

Developers

Filter: securityninja_ignored_file_extensions

Add or change file extensions the Malware Scanner ignores with securityninja_ignored_file_extensions.

The Malware Scanner can ignore certain file extensions. Use this filter to change that list.

add_filter( 'securityninja_ignored_file_extensions', 'do_filter_securityninja_ignored_file_extensions' );

function do_filter_securityninja_ignored_file_extensions( $ignore_list ) {
  $ignore_list[] = 'css';
  return $ignore_list;
}

Add extensions you want skipped, or adjust the list so types you care about are scanned. Broader scans can take longer and may raise more false positives.

Where to add the code: How to include custom code on your website.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image