From: Steve Sutton Date: Fri, 15 Jun 2018 18:12:43 +0000 (-0400) Subject: Turn off caching for member detail pages. X-Git-Tag: v2.10.33^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b92fc5702e3fa9068ff17c9fd323ab406599ae4e;p=WP-Plugins%2Fglm-member-db.git Turn off caching for member detail pages. Not working correctly. --- diff --git a/index.php b/index.php index a1455365..c02aff44 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 2.10.32 + * Version: 2.10.33 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 2.10.32 + * @version 2.10.33 */ $GLOBALS['glmAssociateMemTracker'] = memory_get_usage(); @@ -46,7 +46,7 @@ if (!defined('ABSPATH')) { * */ -define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.32'); +define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.33'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.36'); // Check if plugin version is not current in WordPress option and if needed updated it diff --git a/setup/shortcodes.php b/setup/shortcodes.php index 03753f79..9aa42907 100644 --- a/setup/shortcodes.php +++ b/setup/shortcodes.php @@ -147,7 +147,7 @@ if ( isset( $config['settings'] ) && $config['settings']['enable_members'] ) { 'menu' => 'members', 'action' => 'detail', 'cacheControl' => array( - 'active' => $enableCache, + 'active' => false,//$enableCache, 'cacheTime' => '2 WEEK' // MySQL "DATE_ADD" time interval - see https://www.w3schools.com/sql/func_date_add.asp ), 'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general',