From 2d25b9b68670416c36331ac2c2c692ba05f3d20a Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 27 Oct 2016 13:10:27 -0400 Subject: [PATCH] Add google map api key Also bump version number. --- index.php | 6 +++--- models/front/events/detail.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index b60a226..6c067fe 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database Events * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.5.0 + * Version: 1.5.1 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -20,7 +20,7 @@ * @package glmMembersDatabaseEventsAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.5.0 + * @version 1.5.1 */ /* @@ -38,7 +38,7 @@ * so that we're sure the other add-ons see an up to date * version from this plugin. */ -define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.5.0'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.5.1'); define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.22'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/front/events/detail.php b/models/front/events/detail.php index b030fc0..861aea3 100644 --- a/models/front/events/detail.php +++ b/models/front/events/detail.php @@ -68,7 +68,7 @@ class GlmMembersFront_events_detail extends GlmMembersFront_events_baseAction $categories = $this->getCategories(); wp_register_script( 'googlemaps-js', - 'http://maps.googleapis.com/maps/api/js?key=', + 'http://maps.googleapis.com/maps/api/js?key=' . $this->config['settings']['google_maps_api_key'], null, GLM_MEMBERS_EVENTS_PLUGIN_VERSION, true -- 2.17.1