diff --git a/simple-location.php b/simple-location.php index 7b33f84..14d318b 100644 --- a/simple-location.php +++ b/simple-location.php @@ -36,8 +36,7 @@ function simple_location_post_save($post_id) { $ipLite = new ip2location_lite; $ipLite->setKey($key); $locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']); - print 'locations: '; - print_r($locations); + } } if ($_POST['city'] == '') { $_POST['city'] = $locations['cityName'];