Working on using Update Server. Still not working so code is bypassed at bottom of...
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 23 Feb 2017 15:59:49 +0000 (10:59 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 23 Feb 2017 15:59:49 +0000 (10:59 -0500)
index.php

index 206f68c..402383e 100644 (file)
--- 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 <cscott@gaslightmedia.com>
  * @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:')
+));
+*/