From: Steve Sutton Date: Thu, 10 Jan 2019 19:21:32 +0000 (-0500) Subject: enqueue css X-Git-Tag: v2.10.48^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fhotfix%2F2.10.48;p=WP-Plugins%2Fglm-member-db.git enqueue css for glm foundation --- diff --git a/controllers/front.php b/controllers/front.php index 4675a530..0fe89d99 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -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); + } } /** diff --git a/index.php b/index.php index 8fea5408..61c3b2b8 100755 --- 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 * @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