When the geolocation database cannot download, ensure the correct method is used to log the error.
This commit is contained in:
parent
2da86accc8
commit
c46f7f236d
|
@ -160,7 +160,7 @@ class WC_Geolocation {
|
|||
}
|
||||
@unlink( $tmp_database );
|
||||
} else {
|
||||
$logger->add( 'geolocation', 'Unable to download GeoIP Database: ' . $tmp_database->get_message() );
|
||||
$logger->add( 'geolocation', 'Unable to download GeoIP Database: ' . $tmp_database->get_error_message() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -138,6 +138,8 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
|
||||
== Changelog ==
|
||||
|
||||
* Fix - When the geolocation database cannot download, ensure the correct method is used to log the error.
|
||||
|
||||
= 2.3.0 - 11/02/2015 =
|
||||
* Feature - Option to geo-locate the customer's inital location.
|
||||
* Feature - Display taxes in store based on the customer location, rather than the shop base.
|
||||
|
|
Loading…
Reference in New Issue