Plugin Updates
This commit is contained in:
@@ -1194,7 +1194,7 @@ class WC_Geo_IP {
|
||||
$this->memory_buffer = fread( $this->filehandle, $s_array['size'] );
|
||||
}
|
||||
} else {
|
||||
$this->log( 'GeoIP API: Can not open ' . $filename, 'error' );
|
||||
self::log( 'GeoIP API: Can not open ' . $filename, 'error' );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1553,7 +1553,7 @@ class WC_Geo_IP {
|
||||
}
|
||||
}
|
||||
|
||||
$this->log( 'GeoIP API: Error traversing database - perhaps it is corrupt?', 'error' );
|
||||
self::log( 'GeoIP API: Error traversing database - perhaps it is corrupt?', 'error' );
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -1608,7 +1608,7 @@ class WC_Geo_IP {
|
||||
}
|
||||
}
|
||||
|
||||
$this->log( 'GeoIP API: Error traversing database - perhaps it is corrupt?', 'error' );
|
||||
self::log( 'GeoIP API: Error traversing database - perhaps it is corrupt?', 'error' );
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -1637,7 +1637,7 @@ class WC_Geo_IP {
|
||||
*/
|
||||
public function geoip_country_id_by_addr_v6( $addr ) {
|
||||
if ( ! defined( 'AF_INET6' ) ) {
|
||||
$this->log( 'GEOIP (geoip_country_id_by_addr_v6): PHP was compiled with --disable-ipv6 option' );
|
||||
self::log( 'GEOIP (geoip_country_id_by_addr_v6): PHP was compiled with --disable-ipv6 option' );
|
||||
return false;
|
||||
}
|
||||
$ipnum = inet_pton( $addr );
|
||||
|
||||
Reference in New Issue
Block a user