From: Chuck Scott Date: Thu, 25 May 2017 19:35:31 +0000 (-0400) Subject: Fixed auto-deactivate X-Git-Tag: v1.0.0^2~478 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4a2aed3c6031dc0999afae6f2ffef39a5ead3b8b;p=WP-Plugins%2Fglm-member-db-registrations.git Fixed auto-deactivate --- diff --git a/index.php b/index.php index d98a7a7..1629e26 100644 --- a/index.php +++ b/index.php @@ -130,7 +130,7 @@ $glmMembersDatabasePluginVersion = get_option('glmMembersDatabasePluginVersion') if (version_compare($glmMembersDatabasePluginVersion, GLM_MEMBERS_REGISTRATIONS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION) < 0) { define('GLM_MEMBERS_REGISTRATIONS_MIN_VERSION_NOTE', "Members DB: $glmMembersDatabasePluginVersion, Registrations Requires: ".GLM_MEMBERS_REGISTRATIONS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION); add_action( 'admin_notices', 'glmMembersRegistrationsMinVerRequired'); - deactivate_plugins('/'.GLM_MEMBERS_REGISTRATIONS_PLUGIN_SLUG.'/'.GLM_MEMBERS_REGISTRATIONS_PLUGIN_SLUG.'.php'); + deactivate_plugins('/'.GLM_MEMBERS_REGISTRATIONS_PLUGIN_SLUG.'/index.php'); } /* diff --git a/readme.txt b/readme.txt index 74fb8c7..078f9c5 100644 --- a/readme.txt +++ b/readme.txt @@ -24,4 +24,11 @@ e.g. 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress +== Changelog == + += 0.0.2 = + +* Fixed problem with automatic deactivation due to change in index file name from a while ago. + +