From: Steve Sutton Date: Wed, 10 Aug 2016 16:49:15 +0000 (-0400) Subject: Update for ical feed and release for 1.3.0 X-Git-Tag: v1.3.0^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1819253c3346bff3cdff0a62bc14d00e533553c4;p=WP-Plugins%2Fglm-member-db-events.git Update for ical feed and release for 1.3.0 For the ical feed I'm removing the " from the CN part of ORGANIZER. The validator considers this an illegal character. So removing them. --- diff --git a/index.php b/index.php index f3e753c..fb39bd1 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.2.29 + * Version: 1.3.0 * 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.2.29 + * @version 1.3.0 */ /* @@ -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.2.29'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.3.0'); define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.19'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/front/events/icalFeed.php b/models/front/events/icalFeed.php index bfe61df..4fd0a83 100644 --- a/models/front/events/icalFeed.php +++ b/models/front/events/icalFeed.php @@ -154,7 +154,7 @@ EOD; $eventDataStart = sprintf($eventTemplateStart, $event['id'], $urlHost, - $event['contact_name'], + str_replace( '"', '', $event['contact_name']), $this->icalDateFormat($event['created']['timestamp']), $this->icalDateFormat($event['starting_timestamp']), $this->icalDateFormat($event['starting_timestamp']),