mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix redux dev_mode for server loopback issues
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
}
|
||||
|
||||
public static function isLocalHost() {
|
||||
return ( $_SERVER['REMOTE_ADDR'] === '127.0.0.1' || $_SERVER['REMOTE_ADDR'] === 'localhost' ) ? 1 : 0;
|
||||
return ( $_SERVER['REMOTE_ADDR'] === '127.0.0.1' || $_SERVER['REMOTE_ADDR'] === 'localhost' ) ? 0 : 0;
|
||||
}
|
||||
|
||||
public static function isWpDebug() {
|
||||
|
||||
Reference in New Issue
Block a user