From: Chuck Scott Date: Thu, 23 Feb 2017 15:59:49 +0000 (-0500) Subject: Working on using Update Server. Still not working so code is bypassed at bottom of... X-Git-Tag: v2.9.14^2~20 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2a64edc4704ede4185cf02d1b151a6ba53b72c83;p=WP-Plugins%2Fglm-member-db.git Working on using Update Server. Still not working so code is bypassed at bottom of index.php. --- diff --git a/index.php b/index.php index 206f68c6..402383e5 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 2.9.7 + * Version: 2.9.6 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 2.9.7 + * @version 2.9.6 */ /* @@ -38,7 +38,7 @@ * */ -define('GLM_MEMBERS_PLUGIN_VERSION', '2.9.7'); +define('GLM_MEMBERS_PLUGIN_VERSION', '2.9.6'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.25'); // Check if plugin version is not current in WordPress option and if needed updated it @@ -728,3 +728,18 @@ function glmCheckDatabase () return $all_db_setup_status; } +/* + * Plugin Update Support - uses Gaslight Media update server + */ +/* **** Temporatily dissabling update +require GLM_MEMBERS_PLUGIN_LIB_PATH.'/opentools-update-checker/opentools-update-checker.php'; +${GLM_MEMBERS_PLUGIN_PREFIX."updateChecker"} = new OpenToolsPluginUpdateChecker( + 'http://www.gaslightmedia.com/update_server/?action=get_metadata&slug='.GLM_MEMBERS_PLUGIN_SLUG, + __FILE__, + GLM_MEMBERS_PLUGIN_SLUG +); + +${GLM_MEMBERS_PLUGIN_PREFIX."updateChecker"}->declareCredentials(array( + 'license_key' => __('License Key:') +)); +*/