* Plugin Name: GLM Members Database Events
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.6.40
+ * Version: 1.6.41
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* 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.40');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.41');
define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.2');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
-define('GLM_MEMBERS_EVENTS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION', '1.0.58');
+define('GLM_MEMBERS_EVENTS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION', '2.9.15');
// Check if plugin version is not current in WordPress option and if needed updated it
if (GLM_MEMBERS_EVENTS_PLUGIN_VERSION != get_option('glmMembersDatabaseEventsPluginVersion')) {
$is_active = is_plugin_active($plugin_name);
if ($is_active != '1') {
add_action( 'admin_notices', 'glmMembersEventsPluginRequired' );
- deactivate_plugins('/'.GLM_MEMBERS_EVENTS_PLUGIN_SLUG.'/'.GLM_MEMBERS_EVENTS_PLUGIN_SLUG.'.php');
+ deactivate_plugins('/'.GLM_MEMBERS_EVENTS_PLUGIN_SLUG.'/index.php');
}
// Check for Minimum DB version for main Member DB
if (version_compare($glmMembersDatabasePluginVersion, GLM_MEMBERS_EVENTS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION) < 0) {
define('GLM_MEMBERS_EVENTS_MIN_VERSION_NOTE', "Members DB: $glmMembersDatabasePluginVersion, Events Requires: ".GLM_MEMBERS_EVENTS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION);
add_action( 'admin_notices', 'glmMembersPluginEventsMinVerRequired');
- deactivate_plugins('/'.GLM_MEMBERS_EVENTS_PLUGIN_SLUG.'/'.GLM_MEMBERS_EVENTS_PLUGIN_SLUG.'.php');
+ deactivate_plugins('/'.GLM_MEMBERS_EVENTS_PLUGIN_SLUG.'/index.php');
}
/*