From dd025bdf9aa93de63e5a3aa106fe54adbb947e4e Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 25 May 2017 15:38:24 -0400 Subject: [PATCH] Fixed auto-deactivate --- index.php | 2 +- readme.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index fa25028..9d6e3eb 100644 --- a/index.php +++ b/index.php @@ -130,7 +130,7 @@ $glmMembersDatabasePluginVersion = get_option('glmMembersDatabasePluginVersion') if (version_compare($glmMembersDatabasePluginVersion, GLM_MEMBERS_SEARCH_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION) < 0) { define('GLM_MEMBERS_SEARCH_MIN_VERSION_NOTE', "Members DB: $glmMembersDatabasePluginVersion, Search Requires: ".GLM_MEMBERS_SEARCH_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION); add_action( 'admin_notices', 'glmMembersPluginSearchMinVerRequired'); - deactivate_plugins('/'.GLM_MEMBERS_SEARCH_PLUGIN_SLUG.'/'.GLM_MEMBERS_SEARCH_PLUGIN_SLUG.'.php'); + deactivate_plugins('/'.GLM_MEMBERS_SEARCH_PLUGIN_SLUG.'/index.php'); } /* diff --git a/readme.txt b/readme.txt index 110a7e5..6f98eef 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 == + += 1.2.3 = + +* Fixed problem with automatic deactivation due to change in index file name from a while ago. + + -- 2.17.1