Version Description
- Fixes caching issue of user capabilities
Download this release
Release Info
Developer | raptor235 |
Plugin | Sidekick |
Version | 2.6.7 |
Comparing to | |
See all releases |
Code changes from version 2.6.6 to 2.6.7
- libs/sk_config_data.php +1 -1
- readme.txt +4 -1
- sidekick.php +4 -4
libs/sk_config_data.php
CHANGED
@@ -132,7 +132,7 @@ if (!class_exists('sk_config_data')) {
|
|
132 |
function get_user_data(){
|
133 |
global $current_user;
|
134 |
|
135 |
-
if ( false === ( $result = get_transient( 'sk_' . SK_CACHE_PREFIX . '_get_user_data' ) ) ) {
|
136 |
$data = get_userdata($current_user->ID);
|
137 |
$result = array("user_id" => $current_user->ID);
|
138 |
|
132 |
function get_user_data(){
|
133 |
global $current_user;
|
134 |
|
135 |
+
if ( false === ( $result = get_transient( 'sk_' . SK_CACHE_PREFIX . $current_user->ID . '_get_user_data' ) ) ) {
|
136 |
$data = get_userdata($current_user->ID);
|
137 |
$result = array("user_id" => $current_user->ID);
|
138 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.sidekick.pro
|
|
4 |
Tags: help, tutorial, tutorials,screencast, self-help, training, learn, learning, sidekick, guide, teach, video, manual, videos, wphelp, support, instructions, question, questions, answers, answer, clippy, q&a, wpuniversity, helper, walkthrough
|
5 |
Requires at least: 4.1
|
6 |
Tested up to: 4.3.1
|
7 |
-
Stable tag: 2.6.
|
8 |
License: GNU Version 2 or Any Later Version
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -149,6 +149,9 @@ We read and respond to every piece of feedback we get.
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
152 |
= 2.6.6 =
|
153 |
* Fixes notice error in multisite management page
|
154 |
|
4 |
Tags: help, tutorial, tutorials,screencast, self-help, training, learn, learning, sidekick, guide, teach, video, manual, videos, wphelp, support, instructions, question, questions, answers, answer, clippy, q&a, wpuniversity, helper, walkthrough
|
5 |
Requires at least: 4.1
|
6 |
Tested up to: 4.3.1
|
7 |
+
Stable tag: 2.6.7
|
8 |
License: GNU Version 2 or Any Later Version
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
149 |
|
150 |
== Changelog ==
|
151 |
|
152 |
+
= 2.6.7 =
|
153 |
+
* Fixes caching issue of user capabilities
|
154 |
+
|
155 |
= 2.6.6 =
|
156 |
* Fixes notice error in multisite management page
|
157 |
|
sidekick.php
CHANGED
@@ -6,7 +6,7 @@ Plugin URL: http://wordpress.org/plugins/sidekick/
|
|
6 |
Description: Adds a real-time WordPress training walkthroughs right in your Dashboard
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.3.1
|
9 |
-
Version: 2.6.
|
10 |
Author: Sidekick.pro
|
11 |
Author URI: http://www.sidekick.pro
|
12 |
*/
|
@@ -24,7 +24,7 @@ if (!class_exists('Sidekick')){
|
|
24 |
|
25 |
function __construct(){
|
26 |
if (!defined('SK_API')) define('SK_API','https: //apiv2.sidekick.pro');
|
27 |
-
if (!defined('SK_CACHE_PREFIX')) define('SK_CACHE_PREFIX',str_replace('.', '_', '2.6.
|
28 |
}
|
29 |
|
30 |
function enqueue_required(){
|
@@ -293,7 +293,7 @@ if (!class_exists('Sidekick')){
|
|
293 |
|
294 |
// WordPress
|
295 |
"embed_partner_id" => SK_EMBEDDED_PARTNER, // for tracking purposes if sidekick has been embeded in another WordPress plugin or theme
|
296 |
-
"plugin_version" => '2.6.
|
297 |
"site_url" => $sk_config_data->get_domain(),
|
298 |
"domain" => str_replace("http://","",$_SERVER["SERVER_NAME"]),
|
299 |
"plugin_url" => admin_url("admin.php?page=sidekick"),
|
@@ -349,7 +349,7 @@ if (!class_exists('Sidekick')){
|
|
349 |
function check_ver(){
|
350 |
|
351 |
if (isset($_GET['sk_ver_check'])){
|
352 |
-
$data = json_encode('2.6.
|
353 |
|
354 |
if(array_key_exists('callback', $_GET)){
|
355 |
|
6 |
Description: Adds a real-time WordPress training walkthroughs right in your Dashboard
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.3.1
|
9 |
+
Version: 2.6.7
|
10 |
Author: Sidekick.pro
|
11 |
Author URI: http://www.sidekick.pro
|
12 |
*/
|
24 |
|
25 |
function __construct(){
|
26 |
if (!defined('SK_API')) define('SK_API','https: //apiv2.sidekick.pro');
|
27 |
+
if (!defined('SK_CACHE_PREFIX')) define('SK_CACHE_PREFIX',str_replace('.', '_', '2.6.7'));
|
28 |
}
|
29 |
|
30 |
function enqueue_required(){
|
293 |
|
294 |
// WordPress
|
295 |
"embed_partner_id" => SK_EMBEDDED_PARTNER, // for tracking purposes if sidekick has been embeded in another WordPress plugin or theme
|
296 |
+
"plugin_version" => '2.6.7', // WordPress plugin version
|
297 |
"site_url" => $sk_config_data->get_domain(),
|
298 |
"domain" => str_replace("http://","",$_SERVER["SERVER_NAME"]),
|
299 |
"plugin_url" => admin_url("admin.php?page=sidekick"),
|
349 |
function check_ver(){
|
350 |
|
351 |
if (isset($_GET['sk_ver_check'])){
|
352 |
+
$data = json_encode('2.6.7');
|
353 |
|
354 |
if(array_key_exists('callback', $_GET)){
|
355 |
|