* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.6.84
+ * Version: 1.6.85
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.6.84
+ * @version 1.6.85
*/
* 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.6.84');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.85');
define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.5');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
}
return ( $event1['starting_timestamp'] < $event2['starting_timestamp'] ) ? -1: 1;
} );
+ if ( $limit && $limit = filter_var( $limit, FILTER_VALIDATE_INT ) ) {
+ $events = array_slice( $events, 0, $limit );
+ }
}
// Check for alternate template requests