getRemoteIP function fails when running from cron
-
Hey guys,
Thanks for the amazing plugin! However I have a small problem with it.
I have a cron script which runs wp-cli to check if there are any updates to plugins and notify me. Because I run it from cli REMOTE_ADDR is not populated, and so the remote_ip is effectively null.
Can you add a check if the script is run from cli then fail gracefully without throwing fatal errors all over the place.
- The topic ‘getRemoteIP function fails when running from cron’ is closed to new replies.