LiveChat – WP live chat plugin for WordPress - Version 4.1.1

Version Description

Download this release

Release Info

Developer livechat
Plugin Icon 128x128 LiveChat – WP live chat plugin for WordPress
Version 4.1.1
Comparing to
See all releases

Code changes from version 4.1.0 to 4.1.1

livechat.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.livechatinc.com/addons/wordpress/
5
  Description: Live chat software for live help, online sales and customer support. This plugin allows to quickly install LiveChat on any WordPress website.
6
  Author: LiveChat
7
  Author URI: https://www.livechatinc.com
8
- Version: 4.1.0
9
  Text Domain: wp-live-chat-software-for-wordpress
10
  Domain Path: /languages
11
  */
5
  Description: Live chat software for live help, online sales and customer support. This plugin allows to quickly install LiveChat on any WordPress website.
6
  Author: LiveChat
7
  Author URI: https://www.livechatinc.com
8
+ Version: 4.1.1
9
  Text Domain: wp-live-chat-software-for-wordpress
10
  Domain Path: /languages
11
  */
plugin_files/LiveChatAdmin.class.php CHANGED
@@ -369,14 +369,15 @@ final class LiveChatAdmin extends LiveChat {
369
  /**
370
  * Checks if LiveChat license is active.
371
  *
372
- * @return mixed
373
  * @throws Exceptions\ApiClientException Can be thrown by ApiClient.
374
  * @throws Exceptions\InvalidTokenException Can be throw by ConnectTokenProvider.
375
  */
376
  private function check_if_license_is_active() {
377
  $store = Store::get_instance();
378
  $connect_token = ConnectTokenProvider::create( CertProvider::create() )->get( $store->get_store_token(), 'store' );
379
- return ApiClient::create( $connect_token )->license_info()['isActive'];
 
380
  }
381
 
382
  /**
369
  /**
370
  * Checks if LiveChat license is active.
371
  *
372
+ * @return boolean
373
  * @throws Exceptions\ApiClientException Can be thrown by ApiClient.
374
  * @throws Exceptions\InvalidTokenException Can be throw by ConnectTokenProvider.
375
  */
376
  private function check_if_license_is_active() {
377
  $store = Store::get_instance();
378
  $connect_token = ConnectTokenProvider::create( CertProvider::create() )->get( $store->get_store_token(), 'store' );
379
+ $result = ApiClient::create( $connect_token )->license_info();
380
+ return array_key_exists( 'isActive', $result ) ? $result['isActive'] : false;
381
  }
382
 
383
  /**
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === LiveChat - WP live chat plugin for WordPress ===
2
  Contributors: LiveChat
3
  Tags: live chat, chat plugin, live chat plugin, wordpress live chat, live support, wordpress chat, chat
4
- Stable tag: 4.1.0
5
  Requires PHP: 5.6
6
- Tested up to: 5.3.0
7
  Requires at least: 4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -382,6 +382,9 @@ For more detailed instructions, go to the [live chat plugin page](https://www.li
382
 
383
  == Changelog ==
384
 
 
 
 
385
  = 4.1.0. =
386
  * 'Resources' section added
387
  * bug fixes
1
  === LiveChat - WP live chat plugin for WordPress ===
2
  Contributors: LiveChat
3
  Tags: live chat, chat plugin, live chat plugin, wordpress live chat, live support, wordpress chat, chat
4
+ Stable tag: 4.1.1
5
  Requires PHP: 5.6
6
+ Tested up to: 5.3.1
7
  Requires at least: 4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
382
 
383
  == Changelog ==
384
 
385
+ = 4.1.1. =
386
+ * bug fixes
387
+
388
  = 4.1.0. =
389
  * 'Resources' section added
390
  * bug fixes
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit22825fe3a27410323be493422a586e7d::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit412ffbb41f7d262ee7e097e88acd6f03::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit22825fe3a27410323be493422a586e7d
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit22825fe3a27410323be493422a586e7d
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit22825fe3a27410323be493422a586e7d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit22825fe3a27410323be493422a586e7d', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit22825fe3a27410323be493422a586e7d::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit412ffbb41f7d262ee7e097e88acd6f03
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit412ffbb41f7d262ee7e097e88acd6f03', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit412ffbb41f7d262ee7e097e88acd6f03', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit412ffbb41f7d262ee7e097e88acd6f03::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit22825fe3a27410323be493422a586e7d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'L' =>
@@ -72,9 +72,9 @@ class ComposerStaticInit22825fe3a27410323be493422a586e7d
72
  public static function getInitializer(ClassLoader $loader)
73
  {
74
  return \Closure::bind(function () use ($loader) {
75
- $loader->prefixLengthsPsr4 = ComposerStaticInit22825fe3a27410323be493422a586e7d::$prefixLengthsPsr4;
76
- $loader->prefixDirsPsr4 = ComposerStaticInit22825fe3a27410323be493422a586e7d::$prefixDirsPsr4;
77
- $loader->classMap = ComposerStaticInit22825fe3a27410323be493422a586e7d::$classMap;
78
 
79
  }, null, ClassLoader::class);
80
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit412ffbb41f7d262ee7e097e88acd6f03
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'L' =>
72
  public static function getInitializer(ClassLoader $loader)
73
  {
74
  return \Closure::bind(function () use ($loader) {
75
+ $loader->prefixLengthsPsr4 = ComposerStaticInit412ffbb41f7d262ee7e097e88acd6f03::$prefixLengthsPsr4;
76
+ $loader->prefixDirsPsr4 = ComposerStaticInit412ffbb41f7d262ee7e097e88acd6f03::$prefixDirsPsr4;
77
+ $loader->classMap = ComposerStaticInit412ffbb41f7d262ee7e097e88acd6f03::$classMap;
78
 
79
  }, null, ClassLoader::class);
80
  }