conf(Base::O_AUTO_UPGRADE)) { return; } $current = get_site_transient('update_plugins'); if (!isset($current->response[Core::PLUGIN_FILE])) { return; } $last_check = empty($this->_summary['new_version.last_check']) ? 0 : $this->_summary['new_version.last_check']; // Check once in a half day if (time() - $last_check > 43200) { GUI::save_summary(array('new_version.last_check' => time())); // Detect version $auto_v = Cloud::version_check('new_version_banner'); if (!empty($auto_v['latest'])) { GUI::save_summary(array('new_version.v' => $auto_v['latest'])); } // After detect, don't show, just return and show next time return; } if (!isset($this->_summary['new_version.v'])) { return; } // Check if current version is newer than auto_v or not if (version_compare(Core::VER, $this->_summary['new_version.v'], '>=')) { return; } //********** Can show now **********// $this->_promo_true = true; if ($check_only) { return; } ?>

:

_summary['new_version.v']); ?>

1); $url = Utility::build_url(Router::ACTION_CONF, Conf::TYPE_SET, false, null, $cfg); ?>  
'new_version')); ?>
'new_version', 'later' => 1)); ?> Dismiss this notice. X