Version Description
- plugin activation hook fix
Download this release
Release Info
Developer | livechat |
Plugin | LiveChat – WP live chat plugin for WordPress |
Version | 4.2.3 |
Comparing to | |
See all releases |
Code changes from version 4.2.2 to 4.2.3
- changelog.txt +3 -0
- livechat.php +1 -1
- plugin_files/LiveChatAdmin.class.php +1 -7
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
changelog.txt
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
3 |
= 4.2.2 =
|
4 |
* docs update
|
5 |
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 4.2.3 =
|
4 |
+
* plugin activation hook fix
|
5 |
+
|
6 |
= 4.2.2 =
|
7 |
* docs update
|
8 |
|
livechat.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.livechat.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.livechat.com
|
8 |
-
Version: 4.2.
|
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.livechat.com
|
8 |
+
Version: 4.2.3
|
9 |
Text Domain: wp-live-chat-software-for-wordpress
|
10 |
Domain Path: /languages
|
11 |
*/
|
plugin_files/LiveChatAdmin.class.php
CHANGED
@@ -63,19 +63,13 @@ final class LiveChatAdmin extends LiveChat {
|
|
63 |
public function __construct() {
|
64 |
parent::__construct();
|
65 |
|
66 |
-
add_action(
|
67 |
-
'activated_plugin',
|
68 |
-
array(
|
69 |
-
$this,
|
70 |
-
'plugin_activated_action_handler',
|
71 |
-
)
|
72 |
-
);
|
73 |
add_action( 'admin_init', array( $this, 'load_translations' ) );
|
74 |
add_action( 'admin_init', array( $this, 'load_menu_icon_styles' ) );
|
75 |
add_action( 'admin_init', array( $this, 'load_general_scripts_and_styles' ) );
|
76 |
add_action( 'admin_init', array( $this, 'inject_nonce_object' ) );
|
77 |
add_action( 'admin_menu', array( $this, 'register_admin_menu' ) );
|
78 |
add_action( 'current_screen', array( $this, 'show_deactivation_feedback_form' ) );
|
|
|
79 |
|
80 |
$this->register_admin_notices();
|
81 |
$this->register_ajax_actions();
|
63 |
public function __construct() {
|
64 |
parent::__construct();
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
add_action( 'admin_init', array( $this, 'load_translations' ) );
|
67 |
add_action( 'admin_init', array( $this, 'load_menu_icon_styles' ) );
|
68 |
add_action( 'admin_init', array( $this, 'load_general_scripts_and_styles' ) );
|
69 |
add_action( 'admin_init', array( $this, 'inject_nonce_object' ) );
|
70 |
add_action( 'admin_menu', array( $this, 'register_admin_menu' ) );
|
71 |
add_action( 'current_screen', array( $this, 'show_deactivation_feedback_form' ) );
|
72 |
+
add_action( 'activate_livechat', array( $this, 'plugin_activated_action_handler' ) );
|
73 |
|
74 |
$this->register_admin_notices();
|
75 |
$this->register_ajax_actions();
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== LiveChat - WP live chat plugin for WordPress ===
|
2 |
Contributors: LiveChat
|
3 |
Tags: live chat, chat plugin, live chat plugin, wordpress live chat, wordpress chat,
|
4 |
-
Stable tag: 4.2.
|
5 |
Requires PHP: 5.6
|
6 |
Tested up to: 5.4
|
7 |
Requires at least: 4.0
|
@@ -352,6 +352,9 @@ For more detailed instructions, go to the [live chat plugin page](https://www.li
|
|
352 |
|
353 |
== Changelog ==
|
354 |
|
|
|
|
|
|
|
355 |
= 4.2.2 =
|
356 |
* docs update
|
357 |
|
1 |
=== LiveChat - WP live chat plugin for WordPress ===
|
2 |
Contributors: LiveChat
|
3 |
Tags: live chat, chat plugin, live chat plugin, wordpress live chat, wordpress chat,
|
4 |
+
Stable tag: 4.2.3
|
5 |
Requires PHP: 5.6
|
6 |
Tested up to: 5.4
|
7 |
Requires at least: 4.0
|
352 |
|
353 |
== Changelog ==
|
354 |
|
355 |
+
= 4.2.3 =
|
356 |
+
* plugin activation hook fix
|
357 |
+
|
358 |
= 4.2.2 =
|
359 |
* docs update
|
360 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit53a952c2d433065f3c803022f1b5c0af::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInita31b2e7cd132fe57e20ab333042a5844
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
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\
|
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 ComposerAutoloaderInit53a952c2d433065f3c803022f1b5c0af
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit53a952c2d433065f3c803022f1b5c0af', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit53a952c2d433065f3c803022f1b5c0af', '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\ComposerStaticInit53a952c2d433065f3c803022f1b5c0af::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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'L' =>
|
@@ -72,9 +72,9 @@ class ComposerStaticInita31b2e7cd132fe57e20ab333042a5844
|
|
72 |
public static function getInitializer(ClassLoader $loader)
|
73 |
{
|
74 |
return \Closure::bind(function () use ($loader) {
|
75 |
-
$loader->prefixLengthsPsr4 =
|
76 |
-
$loader->prefixDirsPsr4 =
|
77 |
-
$loader->classMap =
|
78 |
|
79 |
}, null, ClassLoader::class);
|
80 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit53a952c2d433065f3c803022f1b5c0af
|
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 = ComposerStaticInit53a952c2d433065f3c803022f1b5c0af::$prefixLengthsPsr4;
|
76 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit53a952c2d433065f3c803022f1b5c0af::$prefixDirsPsr4;
|
77 |
+
$loader->classMap = ComposerStaticInit53a952c2d433065f3c803022f1b5c0af::$classMap;
|
78 |
|
79 |
}, null, ClassLoader::class);
|
80 |
}
|