How to disable “loopback request checks for sandbox” via functions.php?
-
I am in a bit of a mess here.
I have been working on a wordpress theme that is online but hidden from the rest of the internet basically… the site can’t even check itself to see if it exists… because of a hack in my local hosts file.
So naturally, these “loopback request checks” are failing whenever I try to edit a php file on my active theme, and I am being prevented from easily editing this active theme.
Is there anything I can do to my functions.php file to prevent loopback request checks from happening? At least until I complete the theme and load it up onto a live website?
I have no plugins installed, and I am unable to edit my active theme.
EDIT: Could it be as simple as forcing https://developer.www.ads-software.com/reference/functions/wp_remote_retrieve_body/ to always return a string? I am going to try that right now…
- The topic ‘How to disable “loopback request checks for sandbox” via functions.php?’ is closed to new replies.