* Plugin Name: GLM Associate - Events Add-On
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.7.26
+ * Version: 1.7.28
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseEventsAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.7.26
+ * @version 1.7.28
*/
// Check that we're being called by WordPress.
* 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.27');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.7.28');
/**
* Plugin DB Version
*/
if ( isset( $_REQUEST['month'] ) && $_REQUEST['month'] && !( isset( $_REQUEST['event_name'] ) && $_REQUEST['event_name'] ) ) {
list($month, $year) = explode(" ", $_REQUEST['month']);
- $startingTime = mktime(0, 0, 0, $month, 1, $year);
+ $startingTime = mktime(0, 0, 0, (int)$month, 1, (int)$year);
$lastday = date("t", $startingTime);
$endingTime = mktime(0, 0, 0, $month, $lastday, $year);
$fromDate = date("m/d/Y", $startingTime);
$toDate = date("m/d/Y", $endingTime);
- $frome = date("Y-m-d", $startingTime);
+ $from = date("Y-m-d", $startingTime);
$to = date("Y-m-d", $endingTime);
$this->dateRange = "id IN (
SELECT id
1. Activate the plugin through the 'Plugins' menu in WordPress
== Changelog ==
-= Pending =
New options
* Read more button options
* Minimum number of events option
+= 1.7.27 - 1.7.28 =
+* Bug fixes.
+
= 1.7.26 =
* Updating date on detail page per Jodie request that the date span not be
used if from the agenda view but instead show the date of that event per the