Version Description
- Fixes to user capability checks
Download this release
Release Info
Developer | raptor235 |
Plugin | Sidekick |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- readme.txt +4 -1
- sidekick.php +5 -5
- sidekick_embed.php +5 -5
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.sidekick.pro
|
|
4 |
Tags: help, tutorial, 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: 3.7
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GNU Version 2 or Any Later Version
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -130,6 +130,9 @@ Absolutely. In fact, we rely on users like you to tell us about things that nee
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
133 |
= 2.2.2 =
|
134 |
* Fixes a few security vulnerabilities (Thank You Kacper Szurek - http://security.szurek.pl/)
|
135 |
|
4 |
Tags: help, tutorial, 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: 3.7
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 2.2.3
|
8 |
License: GNU Version 2 or Any Later Version
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 2.2.3 =
|
134 |
+
* Fixes to user capability checks
|
135 |
+
|
136 |
= 2.2.2 =
|
137 |
* Fixes a few security vulnerabilities (Thank You Kacper Szurek - http://security.szurek.pl/)
|
138 |
|
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.0
|
8 |
Tested up to: 4.1.1
|
9 |
-
Version: 2.2.
|
10 |
Author: Sidekick.pro
|
11 |
Author URI: http://www.sidekick.pro
|
12 |
*/
|
@@ -58,7 +58,7 @@ if (!class_exists('Sidekick')){
|
|
58 |
}
|
59 |
|
60 |
function ajax_save(){
|
61 |
-
if (
|
62 |
if (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "true") {
|
63 |
update_option( 'sk_composer_button', true );
|
64 |
} elseif (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "false") {
|
@@ -299,7 +299,7 @@ if (!class_exists('Sidekick')){
|
|
299 |
// Generic Info
|
300 |
just_activated: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
301 |
platform_version: null,
|
302 |
-
plugin_version: '2.2.
|
303 |
show_login: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
304 |
|
305 |
// SIDEKICK URLS
|
@@ -378,7 +378,7 @@ if (!class_exists('Sidekick')){
|
|
378 |
}
|
379 |
|
380 |
function activate($return = false){
|
381 |
-
if (isset($_POST['activation_id']) &&
|
382 |
update_option('sk_activation_id',$_POST['activation_id']);
|
383 |
}
|
384 |
}
|
@@ -416,7 +416,7 @@ if (!class_exists('Sidekick')){
|
|
416 |
|
417 |
function check_ver(){
|
418 |
|
419 |
-
$data = json_encode('2.2.
|
420 |
|
421 |
if(array_key_exists('callback', $_GET)){
|
422 |
|
6 |
Description: Adds a real-time WordPress training walkthroughs right in your Dashboard
|
7 |
Requires at least: 4.0
|
8 |
Tested up to: 4.1.1
|
9 |
+
Version: 2.2.3
|
10 |
Author: Sidekick.pro
|
11 |
Author URI: http://www.sidekick.pro
|
12 |
*/
|
58 |
}
|
59 |
|
60 |
function ajax_save(){
|
61 |
+
if (current_user_can('install_plugins')) {
|
62 |
if (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "true") {
|
63 |
update_option( 'sk_composer_button', true );
|
64 |
} elseif (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "false") {
|
299 |
// Generic Info
|
300 |
just_activated: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
301 |
platform_version: null,
|
302 |
+
plugin_version: '2.2.3',
|
303 |
show_login: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
304 |
|
305 |
// SIDEKICK URLS
|
378 |
}
|
379 |
|
380 |
function activate($return = false){
|
381 |
+
if (isset($_POST['activation_id']) && current_user_can('install_plugins')) {
|
382 |
update_option('sk_activation_id',$_POST['activation_id']);
|
383 |
}
|
384 |
}
|
416 |
|
417 |
function check_ver(){
|
418 |
|
419 |
+
$data = json_encode('2.2.3');
|
420 |
|
421 |
if(array_key_exists('callback', $_GET)){
|
422 |
|
sidekick_embed.php
CHANGED
@@ -8,7 +8,7 @@ Description: Adds a real-time WordPress training walkthroughs right in your Dash
|
|
8 |
We recommend not activating SIDEKICK automatically for people but via an Opt-In process when they configure your own theme or plugin.
|
9 |
Requires at least: 4.0
|
10 |
Tested up to: 4.1.1
|
11 |
-
Version: 2.2.
|
12 |
Author: Sidekick.pro
|
13 |
Author URI: http://www.sidekick.pro
|
14 |
*/
|
@@ -60,7 +60,7 @@ if (!class_exists('Sidekick')){
|
|
60 |
}
|
61 |
|
62 |
function ajax_save(){
|
63 |
-
if (
|
64 |
if (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "true") {
|
65 |
update_option( 'sk_composer_button', true );
|
66 |
} elseif (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "false") {
|
@@ -515,7 +515,7 @@ if (!class_exists('Sidekick')){
|
|
515 |
// Generic Info
|
516 |
just_activated: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
517 |
platform_version: null,
|
518 |
-
plugin_version: '2.2.
|
519 |
show_login: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
520 |
|
521 |
// SIDEKICK URLS
|
@@ -594,7 +594,7 @@ if (!class_exists('Sidekick')){
|
|
594 |
}
|
595 |
|
596 |
function activate($return = false){
|
597 |
-
if (isset($_POST['activation_id']) &&
|
598 |
update_option('sk_activation_id',$_POST['activation_id']);
|
599 |
}
|
600 |
}
|
@@ -632,7 +632,7 @@ if (!class_exists('Sidekick')){
|
|
632 |
|
633 |
function check_ver(){
|
634 |
|
635 |
-
$data = json_encode('2.2.
|
636 |
|
637 |
if(array_key_exists('callback', $_GET)){
|
638 |
|
8 |
We recommend not activating SIDEKICK automatically for people but via an Opt-In process when they configure your own theme or plugin.
|
9 |
Requires at least: 4.0
|
10 |
Tested up to: 4.1.1
|
11 |
+
Version: 2.2.3
|
12 |
Author: Sidekick.pro
|
13 |
Author URI: http://www.sidekick.pro
|
14 |
*/
|
60 |
}
|
61 |
|
62 |
function ajax_save(){
|
63 |
+
if (current_user_can('install_plugins')) {
|
64 |
if (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "true") {
|
65 |
update_option( 'sk_composer_button', true );
|
66 |
} elseif (isset($_POST['sk_composer_button']) && $_POST['sk_composer_button'] == "false") {
|
515 |
// Generic Info
|
516 |
just_activated: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
517 |
platform_version: null,
|
518 |
+
plugin_version: '2.2.3',
|
519 |
show_login: <?php echo ($sk_just_activated) ? "true" : "false" ?>,
|
520 |
|
521 |
// SIDEKICK URLS
|
594 |
}
|
595 |
|
596 |
function activate($return = false){
|
597 |
+
if (isset($_POST['activation_id']) && current_user_can('install_plugins')) {
|
598 |
update_option('sk_activation_id',$_POST['activation_id']);
|
599 |
}
|
600 |
}
|
632 |
|
633 |
function check_ver(){
|
634 |
|
635 |
+
$data = json_encode('2.2.3');
|
636 |
|
637 |
if(array_key_exists('callback', $_GET)){
|
638 |
|