From 9dce1bd308bd32b56aeccfbc1075d4ff0f895fad Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 27 Nov 2018 12:01:05 -0500 Subject: [PATCH] Add url to wmta required fields url needed for Michigan.org --- index.php | 6 +++--- models/admin/events/list.php | 1 + views/admin/management/events.html | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 4584a58..a683afc 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Associate - Events Add-On * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.7.6 + * Version: 1.7.7 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabaseEventsAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.7.6 + * @version 1.7.7 */ // Check that we're being called by WordPress. @@ -43,7 +43,7 @@ if (!defined('ABSPATH')) { * 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.7.6'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.7.7'); define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.10'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/admin/events/list.php b/models/admin/events/list.php index ee3a8e3..f73c314 100644 --- a/models/admin/events/list.php +++ b/models/admin/events/list.php @@ -166,6 +166,7 @@ class GlmMembersAdmin_events_list extends GlmDataEvents if ( $this->config['settings']['michigan_org_requirements'] ) { $this->fields['contact_phone']['required'] = true; $this->fields['contact_email']['required'] = true; + $this->fields['url']['required'] = true; } // Check for Member Menu Use diff --git a/views/admin/management/events.html b/views/admin/management/events.html index 41b7e81..cc4b5b2 100644 --- a/views/admin/management/events.html +++ b/views/admin/management/events.html @@ -147,7 +147,7 @@ Admin Options -

+

-- 2.17.1