Sidekick - Version 2.6.2

Version Description

  • Fixes to multsite network activation bug for invalid logins
Download this release

Release Info

Developer raptor235
Plugin Icon 128x128 Sidekick
Version 2.6.2
Comparing to
See all releases

Code changes from version 2.6.1 to 2.6.2

Files changed (3) hide show
  1. js/sidekick_admin.js +13 -0
  2. readme.txt +2 -2
  3. sidekick.php +6 -6
js/sidekick_admin.js CHANGED
@@ -422,6 +422,15 @@ function load_sk_library($key){
422
  });
423
  }
424
 
 
 
 
 
 
 
 
 
 
425
  function setup_sk_admin(){
426
  // console.log('setup_sk_admin');
427
  if (jQuery('.sidekick_admin').length === 0) {
@@ -486,3 +495,7 @@ function setup_sk_admin(){
486
  });
487
  }
488
  }
 
 
 
 
422
  });
423
  }
424
 
425
+ function setup_intro_welcome_button(){
426
+ jQuery('.sk_start_intro').on('click',function(){
427
+ sidekick.play_intro(true);
428
+ Sidekick.Events.trigger('track_play_intro',{
429
+ location: 'welcome_header'
430
+ });
431
+ });
432
+ }
433
+
434
  function setup_sk_admin(){
435
  // console.log('setup_sk_admin');
436
  if (jQuery('.sidekick_admin').length === 0) {
495
  });
496
  }
497
  }
498
+
499
+ jQuery(document).ready(function($) {
500
+ setup_intro_welcome_button();
501
+ });
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: 3.7
6
  Tested up to: 4.2
7
- Stable tag: 2.6.1
8
  License: GNU Version 2 or Any Later Version
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -145,7 +145,7 @@ We read and respond to every piece of feedback we get.
145
 
146
  == Changelog ==
147
 
148
- = 2.6.1 =
149
  * Fixes to multsite network activation bug for invalid logins
150
 
151
  = 2.6.0 =
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: 3.7
6
  Tested up to: 4.2
7
+ Stable tag: 2.6.2
8
  License: GNU Version 2 or Any Later Version
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
145
 
146
  == Changelog ==
147
 
148
+ = 2.6.2 =
149
  * Fixes to multsite network activation bug for invalid logins
150
 
151
  = 2.6.0 =
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.3
9
- Version: 2.6.1
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.1'));
28
  }
29
 
30
  function enqueue_required(){
@@ -292,7 +292,7 @@ if (!class_exists('Sidekick')){
292
 
293
  // WordPress
294
  "embed_partner_id" => SK_EMBEDDED_PARTNER, // for tracking purposes if sidekick has been embeded in another WordPress plugin or theme
295
- "plugin_version" => '2.6.1', // WordPress plugin version
296
  "site_url" => $sk_config_data->get_domain(),
297
  "domain" => str_replace("http://","",$_SERVER["SERVER_NAME"]),
298
  "plugin_url" => admin_url("admin.php?page=sidekick"),
@@ -348,7 +348,7 @@ if (!class_exists('Sidekick')){
348
  function check_ver(){
349
 
350
  if (isset($_GET['sk_ver_check'])){
351
- $data = json_encode('2.6.1');
352
 
353
  if(array_key_exists('callback', $_GET)){
354
 
@@ -379,9 +379,9 @@ if (!class_exists('Sidekick')){
379
  <b>Need help with WordPress?</b> - You can always find help in the bottom left corner, just click the Help button.</b>
380
  </p>
381
  <p>
382
- <a href="javascript: sidekick.play_intro(true); Sidekick.Events.trigger(\'track_play_intro\',{location: \'welcome_header\'})" class="sk_wp_primary button button-primary">
383
  What\'s Sidekick?
384
- </a>
385
  <a href="%1$s" class="button-secondary button skip">No Thanks</a>
386
  </p>
387
  </div>',
6
  Description: Adds a real-time WordPress training walkthroughs right in your Dashboard
7
  Requires at least: 4.0
8
  Tested up to: 4.3
9
+ Version: 2.6.2
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.2'));
28
  }
29
 
30
  function enqueue_required(){
292
 
293
  // WordPress
294
  "embed_partner_id" => SK_EMBEDDED_PARTNER, // for tracking purposes if sidekick has been embeded in another WordPress plugin or theme
295
+ "plugin_version" => '2.6.2', // WordPress plugin version
296
  "site_url" => $sk_config_data->get_domain(),
297
  "domain" => str_replace("http://","",$_SERVER["SERVER_NAME"]),
298
  "plugin_url" => admin_url("admin.php?page=sidekick"),
348
  function check_ver(){
349
 
350
  if (isset($_GET['sk_ver_check'])){
351
+ $data = json_encode('2.6.2');
352
 
353
  if(array_key_exists('callback', $_GET)){
354
 
379
  <b>Need help with WordPress?</b> - You can always find help in the bottom left corner, just click the Help button.</b>
380
  </p>
381
  <p>
382
+ <button class="sk_start_intro sk_wp_primary button button-primary">
383
  What\'s Sidekick?
384
+ </button>
385
  <a href="%1$s" class="button-secondary button skip">No Thanks</a>
386
  </p>
387
  </div>',