MaxMind'); ?> | |
---|---|
> | |
> | |
>
' . __('Next update will be', 'wp-statistics') . ': ';
$last_update = WP_STATISTICS\Option::get('last_geoip_dl');
$this_month = strtotime(__('First Tuesday of this month', 'wp-statistics'));
if ($last_update > $this_month) {
$next_update = strtotime(__('First Tuesday of next month', 'wp-statistics')) + (86400 * 2);
} else {
$next_update = $this_month + (86400 * 2);
}
$next_schedule = wp_next_scheduled('wp_statistics_geoip_hook');
if ($next_schedule) {
echo \WP_STATISTICS\TimeZone::getLocalDate(get_option('date_format'), $next_update) .
' @ ' .
\WP_STATISTICS\TimeZone::getLocalDate(get_option('time_format'), $next_schedule);
} else {
echo \WP_STATISTICS\TimeZone::getLocalDate(get_option('date_format'), $next_update) .
' @ ' .
\WP_STATISTICS\TimeZone::getLocalDate(get_option('time_format'), time());
}
echo ' ';
}
?>
|
|
> | |
'; if (!function_exists('curl_init')) { echo ' * '; _e('GeoIP collection requires the cURL PHP extension and it is not loaded on your version of PHP!', 'wp-statistics'); echo ' '; } if (!function_exists('bcadd')) { echo ' * '; _e('GeoIP collection requires the BC Math PHP extension and it is not loaded on your version of PHP!', 'wp-statistics'); echo ' '; } if (ini_get('safe_mode')) { echo ' * '; _e('PHP safe mode detected! GeoIP collection is not supported with PHP\'s safe mode enabled!', 'wp-statistics'); echo ' '; } ?> |
https://github.com/matomo-org/referrer-spam-blacklist'); ?> | |
---|---|
> |