From df5c22a1c5135a362217830c098025c509a6a8e8 Mon Sep 17 00:00:00 2001 From: nikitasinelnikov Date: Mon, 21 Jan 2019 01:08:27 +0200 Subject: [PATCH] - fixed setting for users cache; --- includes/admin/core/class-admin-settings.php | 6 ++++++ includes/class-config.php | 1 + package.json | 4 +++- readme.txt | 7 ++++++- ultimate-member.php | 2 +- 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/includes/admin/core/class-admin-settings.php b/includes/admin/core/class-admin-settings.php index 7e316be6..508aee76 100644 --- a/includes/admin/core/class-admin-settings.php +++ b/includes/admin/core/class-admin-settings.php @@ -1055,6 +1055,12 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) { 'textarea_rows' => 6 ) ), + array( + 'id' => 'um_profile_object_cache_stop', + 'type' => 'checkbox', + 'label' => __( 'Disable Cache User Profile', 'ultimate-member' ), + 'tooltip' => __( 'Check this box if you would like to disable Ultimate Member user\'s cache.', 'ultimate-member' ), + ), array( 'id' => 'uninstall_on_delete', 'type' => 'checkbox', diff --git a/includes/class-config.php b/includes/class-config.php index 295bd999..60af5282 100644 --- a/includes/class-config.php +++ b/includes/class-config.php @@ -533,6 +533,7 @@ if ( ! class_exists( 'um\Config' ) ) { 'profile_photo_max_size' => 999999999, 'cover_photo_max_size' => 999999999, 'custom_roles_increment' => 1, + 'um_profile_object_cache_stop' => 0 ); $tabs = UM()->profile()->tabs_primary(); diff --git a/package.json b/package.json index 84fe1409..f4a9c688 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,8 @@ "time-grunt": "~1.0.0" }, "dependencies": { - "gulp-install": "^1.1.0" + "gulp-install": "^1.1.0", + "gulp-sass": "^4.0.2", + "node-sass": "^4.11.0" } } diff --git a/readme.txt b/readme.txt index b9933b84..b437f272 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ Donate link: Tags: community, member, membership, user-profile, user-registration Requires at least: 4.7 Tested up to: 5.0 -Stable tag: 2.0.38 +Stable tag: 2.0.39 License: GNU Version 2 or Any Later Version License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -133,6 +133,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat = Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin = += 2.0.39: January , 2019 = + +* Enhancements: + - Restored option for disable users cache + = 2.0.38: January 10, 2019 = * Enhancements: diff --git a/ultimate-member.php b/ultimate-member.php index 10b2b824..452fe2b8 100644 --- a/ultimate-member.php +++ b/ultimate-member.php @@ -3,7 +3,7 @@ Plugin Name: Ultimate Member Plugin URI: http://ultimatemember.com/ Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress -Version: 2.0.38 +Version: 2.0.39 Author: Ultimate Member Author URI: http://ultimatemember.com/ Text Domain: ultimate-member