Better version number notation in the hopes the update server will recognize it
authorLaury GvR <laury@gaslightmedia.com>
Fri, 12 May 2017 19:15:43 +0000 (15:15 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 12 May 2017 19:15:43 +0000 (15:15 -0400)
index.php

index 3cdd28b..7c39b3b 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -1,14 +1,26 @@
 <?php
-
-/*
-Plugin Name: Gaslightify
-Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
-Description: A gasline to a Wordpress website.
-Version: 1.6.2
-Author: Gaslight Media
-Author URI: http://www.gaslightmedia.com
-License: Gaslight Media
-*/
+/**
+ * Plugin Name: Gaslightify
+ * Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
+ * Description: A gasline to a Wordpress website.
+ * Version: 1.6.3
+ * Author: Gaslight Media
+ * Author URI: http://www.gaslightmedia.com
+ * License: Gaslight Media
+ */
+
+/**
+ * Gaslightify
+ * Index
+ *
+ * PHP version 5.5
+ *
+ * @category glmWordPressPlugin
+ * @package glmMembersDatabase
+ * @author Gaslight Media
+ * @license http://www.gaslightmedia.com Gaslightmedia
+ * @version 1.6.3
+ */
 
 //function basic_content_replace ($text){
 //$text = str_replace(‘Old’,’New’,$text)
@@ -19,7 +31,11 @@ License: Gaslight Media
 
 require_once 'defines.php';
 
-define('GLM_GASLIGHTIFY_PLUGIN_VERSION', '1.6.2');
+define('GLM_GASLIGHTIFY_PLUGIN_VERSION', '1.6.3');
+
+if (GLM_GASLIGHTIFY_PLUGIN_VERSION != get_option('GaslightifyPluginVersion')) {
+    update_option('GaslightifyPluginVersion', GLM_GASLIGHTIFY_PLUGIN_VERSION);
+}
  /*
   * Plugin Update Support - uses Gaslight Media update server
   */