JivoChat Live Chat [Official] - Version 1.3.5.10

Version Description

Download this release

Release Info

Developer JivoChat
Plugin Icon 128x128 JivoChat Live Chat [Official]
Version 1.3.5.10
Comparing to
See all releases

Code changes from version 1.3.5.8 to 1.3.5.10

class-jivosite.php CHANGED
@@ -9,7 +9,7 @@
9
  * Author URI: www.jivochat.com
10
  * Plugin URI: https://jivochat.com/
11
  * Description: Omnichannel Live Chat and Help Desk plugin, optimized for WordPress. Free, fast, easy to install and to use. Turn your visitors into happy customers!
12
- * Version: 1.3.5.8
13
  *
14
  * Text Domain: jivochat
15
  * Domain Path: /languages/
@@ -45,7 +45,7 @@ define( 'JIVOSITE_LANGUAGES_URL', JIVOSITE_API_URL . '/web/integration/languages
45
  define( 'JIVOSITE_INTEGRATION_URL', JIVOSITE_API_URL . '/web/integration' );
46
  define( 'JIVOSITE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
47
  define( 'JIVOSITE_IMG_URL', plugin_dir_url( __FILE__ ) . '/img/' );
48
- define( 'JIVOSITE_PLUGIN_VERSION', '1.3.5.8' );
49
 
50
  /** Register the settings. */
51
  function jivosite_register_settings() {
@@ -182,7 +182,7 @@ class Jivosite {
182
  $user_site_domain = esc_url_raw( get_site_url(), null );
183
  $user_site_url = empty( $user_site_domain ) ? 'wordpress.com' : $user_site_domain;
184
 
185
- $query['body']['partnerId'] = 'WordPress';
186
  $query['body']['email'] = sanitize_email( wp_unslash( $_POST['email'] ) );
187
  $query['body']['userPassword'] = sanitize_text_field( wp_unslash( $_POST['userPassword'] ) );
188
  $query['body']['userDisplayName'] = isset( $_POST['userDisplayName'] ) ? sanitize_text_field( wp_unslash( $_POST['userDisplayName'] ) ) : 'Agent';
@@ -253,7 +253,7 @@ class Jivosite {
253
  public function render() {
254
  if ( $this->transport_enabled ) {
255
  try {
256
- if ( ! $this->widget_id ) {
257
  $language_list = $this->get_language_list();
258
  }
259
 
9
  * Author URI: www.jivochat.com
10
  * Plugin URI: https://jivochat.com/
11
  * Description: Omnichannel Live Chat and Help Desk plugin, optimized for WordPress. Free, fast, easy to install and to use. Turn your visitors into happy customers!
12
+ * Version: 1.3.5.10
13
  *
14
  * Text Domain: jivochat
15
  * Domain Path: /languages/
45
  define( 'JIVOSITE_INTEGRATION_URL', JIVOSITE_API_URL . '/web/integration' );
46
  define( 'JIVOSITE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
47
  define( 'JIVOSITE_IMG_URL', plugin_dir_url( __FILE__ ) . '/img/' );
48
+ define( 'JIVOSITE_PLUGIN_VERSION', '1.3.5.10' );
49
 
50
  /** Register the settings. */
51
  function jivosite_register_settings() {
182
  $user_site_domain = esc_url_raw( get_site_url(), null );
183
  $user_site_url = empty( $user_site_domain ) ? 'wordpress.com' : $user_site_domain;
184
 
185
+ $query['body']['partnerId'] = 'wordpress';
186
  $query['body']['email'] = sanitize_email( wp_unslash( $_POST['email'] ) );
187
  $query['body']['userPassword'] = sanitize_text_field( wp_unslash( $_POST['userPassword'] ) );
188
  $query['body']['userDisplayName'] = isset( $_POST['userDisplayName'] ) ? sanitize_text_field( wp_unslash( $_POST['userDisplayName'] ) ) : 'Agent';
253
  public function render() {
254
  if ( $this->transport_enabled ) {
255
  try {
256
+ if ( ! isset($this->widget_id) || ! $this->widget_id ) {
257
  $language_list = $this->get_language_list();
258
  }
259
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://jivochat.com/
4
  Tags: сhat plugin, free live chat, wordpress live chat, live chat plugin, WordPress chat, jivochat, jivo, chat, livechat, chat for website, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, free chat, IM Chat, live chat, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, online chat, online support, php live chat, snapengage, support software, wordpress chat, wordpress live chat, wordpress live chat plugin, живосайт, живой сайт, дживосайт, jivosite, zendesk, zopim, zopim live chat, zendesk chat, tawk, tawkto, tawk.to, chatra, чатра, pure chat, pureсhat, smartsupp, smart supp, happyfox, happy fox, siteheart, site heart, chatnox, liveagent, live agent, slack, subiz, casengo, chatpirate, tagove, wp live chat support, wise chat, wisechat, wise, chatbro, chat bro, iflychat, tidio, flyzoo, yith, livetex, webisonline, redhelper, red helper, mylivechat, my live chat, live chat inc, livechatinc, olark, userlike, user like, zoho, zoho chat, livezilla, intercom, chatrify, onicon, callbackhunter, callback, callback widget, venyoo, comagic, talk-me, talkme, NetroxSC, boldchat, velaro, bitrix24, bitrix
5
  Requires at least: 3.0.1
6
  Tested up to: 6.0
7
- Stable tag: 1.3.5.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: сhat plugin, free live chat, wordpress live chat, live chat plugin, WordPress chat, jivochat, jivo, chat, livechat, chat for website, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, free chat, IM Chat, live chat, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, online chat, online support, php live chat, snapengage, support software, wordpress chat, wordpress live chat, wordpress live chat plugin, живосайт, живой сайт, дживосайт, jivosite, zendesk, zopim, zopim live chat, zendesk chat, tawk, tawkto, tawk.to, chatra, чатра, pure chat, pureсhat, smartsupp, smart supp, happyfox, happy fox, siteheart, site heart, chatnox, liveagent, live agent, slack, subiz, casengo, chatpirate, tagove, wp live chat support, wise chat, wisechat, wise, chatbro, chat bro, iflychat, tidio, flyzoo, yith, livetex, webisonline, redhelper, red helper, mylivechat, my live chat, live chat inc, livechatinc, olark, userlike, user like, zoho, zoho chat, livezilla, intercom, chatrify, onicon, callbackhunter, callback, callback widget, venyoo, comagic, talk-me, talkme, NetroxSC, boldchat, velaro, bitrix24, bitrix
5
  Requires at least: 3.0.1
6
  Tested up to: 6.0
7
+ Stable tag: 1.3.5.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
templates/login.php CHANGED
@@ -9,7 +9,7 @@
9
 
10
  <div id="login_block" class="container jivosite-small"
11
  <?php
12
- if ( ! empty( esc_html( $login ) ) ) {
13
  ?>
14
  style="display: block"
15
  <?php
@@ -90,7 +90,7 @@
90
  </div>
91
  <div class="row jivosite-form-margin">
92
  <div class="col-10 jivosite-center jivosite-form-first-col">
93
- <b style="color:red;"><?php echo esc_html( $error ); ?></b>
94
  </div>
95
  <div class="col-2 jivosite-form-second-col"></div>
96
  </div>
9
 
10
  <div id="login_block" class="container jivosite-small"
11
  <?php
12
+ if ( isset($login) && ! empty( esc_html( $login ) ) ) {
13
  ?>
14
  style="display: block"
15
  <?php
90
  </div>
91
  <div class="row jivosite-form-margin">
92
  <div class="col-10 jivosite-center jivosite-form-first-col">
93
+ <b style="color:red;"><?php echo esc_html( isset($error) ? $error : 'no_error' ); ?></b>
94
  </div>
95
  <div class="col-2 jivosite-form-second-col"></div>
96
  </div>
templates/signup.php CHANGED
@@ -9,7 +9,7 @@
9
 
10
  <div id="signup_block" class="container jivosite-big"
11
  <?php
12
- if ( ! empty( esc_html( $login ) ) ) {
13
  ?>
14
  style="display: none" <?php } ?>>
15
  <div class="row">
@@ -140,7 +140,7 @@ if ( ! empty( esc_html( $login ) ) ) {
140
  </div>
141
  <div class="row jivosite-form-margin">
142
  <div class="col-10 jivosite-center jivosite-form-first-col">
143
- <b style="color:red;"><?php echo esc_html( $error ); ?></b>
144
  </div>
145
  <div class="col-2 jivosite-form-second-col"></div>
146
  </div>
9
 
10
  <div id="signup_block" class="container jivosite-big"
11
  <?php
12
+ if ( isset($login) &&! empty( esc_html( $login ) ) ) {
13
  ?>
14
  style="display: none" <?php } ?>>
15
  <div class="row">
140
  </div>
141
  <div class="row jivosite-form-margin">
142
  <div class="col-10 jivosite-center jivosite-form-first-col">
143
+ <b style="color:red;"><?php echo esc_html( isset($error) ? $error : 'no_error' ); ?></b>
144
  </div>
145
  <div class="col-2 jivosite-form-second-col"></div>
146
  </div>