Пример #1
0
function wpgmaps_check_versions()
{
    $prov = get_option("WPGMZA_PRO");
    $wpgmza_pro_version = $prov['version'];
    if (floatval($wpgmza_pro_version) < 4.51 || $wpgmza_pro_version == null) {
        wpgmaps_upgrade_notice();
    }
}
Пример #2
0
function wpgmaps_check_versions()
{
    wpgmaps_debugger("check_versions_start");
    $prov = get_option("WPGMZA_PRO");
    $wpgmza_pro_version = $prov['version'];
    if (floatval($wpgmza_pro_version) < 3 || $wpgmza_pro_version == null) {
        wpgmaps_upgrade_notice();
    }
    wpgmaps_debugger("check_versions_end");
}