enqueue css hotfix/2.10.48
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 10 Jan 2019 19:21:32 +0000 (14:21 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 10 Jan 2019 19:21:32 +0000 (14:21 -0500)
for glm foundation

controllers/front.php
index.php

index 4675a53..0fe89d9 100644 (file)
@@ -206,6 +206,7 @@ class glmMembersFront extends GlmPluginSupport
         }
         $cssGridFileOld  = GLM_MEMBERS_PLUGIN_PATH.'/css/glm-grid-old.css';
         $cssGridFile     = GLM_MEMBERS_PLUGIN_PATH.'/css/glm-grid.css';
+        $cssGlmaFoundation  = GLM_MEMBERS_PLUGIN_PATH.'/css/glma-foundation.min.css';
 
         if (is_file($cssGridFileOld)) {
 
@@ -228,6 +229,16 @@ class glmMembersFront extends GlmPluginSupport
             );
             wp_enqueue_style($cssGridName);
         }
+        if (is_file($cssGlmaFoundation)) {
+            $cssGlmaFoundationName = 'glma-foundation-css';
+            wp_register_style(
+                $cssGlmaFoundationName,
+                GLM_MEMBERS_PLUGIN_BASE_URL.'/css/glma-foundation.min.css',
+                false,
+                GLM_MEMBERS_PLUGIN_VERSION
+            );
+            wp_enqueue_style($cssGlmaFoundationName);
+        }
     }
 
     /**
index 8fea540..61c3b2b 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Associate - Members Plugin
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media GLM Associate core plugin and Members database.
- * Version: 2.10.47
+ * Version: 2.10.48
  * 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.10.47
+ * @version 2.10.48
  */
 
 $GLOBALS['glmAssociateMemTracker'] = memory_get_usage();
@@ -47,7 +47,7 @@ if (!defined('ABSPATH')) {
  *
  */
 
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.47');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.48');
 define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.41');
 
 // Check if plugin version is not current in WordPress option and if needed updated it