Addition for Wordfence users
-
Here is some updated code to allow Wordfence users to scan their pages normally. Insert after
$url .= $_SERVER['REQUEST_URI'];
$ext_ip = ip2long($_SERVER['REMOTE_ADDR']); // Incoming request IP converted to long $allow_low_range = ip2long('69.46.36.0'); // Wordfence low range $allow_hi_range = ip2long('69.46.36.31'); // Wordfence high range $allowed_ip = ($ext_ip <= $allow_hi_range && $allow_low_range <= $ext_ip); if ($allowed_ip) return true;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Addition for Wordfence users’ is closed to new replies.