PHP Notice about PHD_CLIENT_IP constant
-
Plugin ver 4.0.4 (latest)
I’m getting Notice: Use of undefined constant PHD_CLIENT_IP – assumed ‘PHD_CLIENT_IP’ in …wp-content\plugins\wp-mediatagger\mediatagger.php on line 2749
I can’t find PHD_CLIENT_IP being defined anywhere.
I changed linke 2749 from
if ($_SERVER['REMOTE_ADDR'] == PHD_CLIENT_IP) {
to
if ($_SERVER['REMOTE_ADDR'] == 'PHD_CLIENT_IP') {
as a workaround, which functions exactly the same, but without notice.
Whatever that if() block is supposed to do, can never happen.
Cheers!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notice about PHD_CLIENT_IP constant’ is closed to new replies.