Turn off caching for member detail pages.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 15 Jun 2018 18:12:43 +0000 (14:12 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 15 Jun 2018 18:12:43 +0000 (14:12 -0400)
Not working correctly.

index.php
setup/shortcodes.php

index a145536..c02aff4 100644 (file)
--- 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 <cscott@gaslightmedia.com>
  * @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
index 03753f7..9aa4290 100644 (file)
@@ -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',