Update firewall.php for changed IP address?
-
Our company’s building network switched to a new fiber-optic connection this morning. The new connection has a new public-facing IP address. A couple of applications on the network communicate with our website, so I searched the site for references to the old IP address with an eye to make sure they also knew about the new one. I found and fixed a couple of cases, but one I don’t know what to do with: a file in wp-content called “firewall.php”. It puts the old IP address in a variable called “$white_list”, and there’s a strongly worded warning that this code is dynamically created using WordPress filters and I should never edit it directly, because the changes will get overwritten.
I searched the code for uses of “$white_list” and found many places where it’s referred to, but didn’t see any that set it. What part(s) of the website (programs, plugins, anything) set $white_list, and where/how can I find them to add the new IP address?
You must be logged in to reply to this topic.