Zendesk Chat - Version 1.4.10

Version Description

  • Fix CSRF issue when unlinking zopim account
Download this release

Release Info

Developer zendesk_official
Plugin Icon 128x128 Zendesk Chat
Version 1.4.10
Comparing to
See all releases

Code changes from version 1.4.9 to 1.4.10

Files changed (3) hide show
  1. includes/class-linked-view.php +3 -1
  2. readme.txt +4 -1
  3. zopim.php +2 -2
includes/class-linked-view.php CHANGED
@@ -41,8 +41,10 @@ class Zopim_Linked_View extends Zopim_Base_View
41
  */
42
  public function deactivate_plugin()
43
  {
 
 
44
  if (!( isset($_POST['_wpnonce'] ) ) || (! wp_verify_nonce($_POST['_wpnonce'], 'zopim_plugin_deactivate'))) {
45
- update_option( Zopim_Options::ZOPIM_OPTION_SALT, 'wronglogin' );
46
  } else {
47
  update_option( Zopim_Options::ZOPIM_OPTION_SALT, '' );
48
  update_option( Zopim_Options::ZOPIM_OPTION_CODE, 'zopim' );
41
  */
42
  public function deactivate_plugin()
43
  {
44
+ $notices = Zopim_Notices::get_instance();
45
+
46
  if (!( isset($_POST['_wpnonce'] ) ) || (! wp_verify_nonce($_POST['_wpnonce'], 'zopim_plugin_deactivate'))) {
47
+ $notices->add_notice( 'before_udpate_widget_textarea', 'Invalid CSRF token. Please try re-sending the request.', 'error' );
48
  } else {
49
  update_option( Zopim_Options::ZOPIM_OPTION_SALT, '' );
50
  update_option( Zopim_Options::ZOPIM_OPTION_CODE, 'zopim' );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: zendesk_official
3
  Tags: chat, chat online, contact plugin, contact us, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, Zopim, zendesk, Zopim live chat, banckle, clickdesk, click desk
4
  Requires at least: 3.1
5
  Tested up to: 4.7
6
- Stable tag: 1.4.9
7
 
8
  Zendesk Chat (previously Zopim) lets you monitor and chat with visitors surfing your store in real-time. Impress them personally and ease them into their purchase.
9
 
@@ -48,6 +48,9 @@ What are you waiting for? Download Zendesk Chat plugin now and <a href="https://
48
  * Arabic | Bulgarian | Chinese | Croatian | Czech | Danish | Dutch; Flemish | Estonian | Faroese | Finnish | French | Georgian | German | Greek | Hebrew | Hungarian | Icelandic | Indonesian | Italian | Japanese | Korean | Kurdish | Latvian | Lithuanian | Macedonian | Malay | Norwegian Bokmal | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish; Castilian | Swedish | Thai | Turkish | Ukranian | Urdu | Vietnamese
49
 
50
  == Changelog ==
 
 
 
51
  = 1.4.9 =
52
  * Tested on Wordpress v4.7
53
 
3
  Tags: chat, chat online, contact plugin, contact us, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, Zopim, zendesk, Zopim live chat, banckle, clickdesk, click desk
4
  Requires at least: 3.1
5
  Tested up to: 4.7
6
+ Stable tag: 1.4.10
7
 
8
  Zendesk Chat (previously Zopim) lets you monitor and chat with visitors surfing your store in real-time. Impress them personally and ease them into their purchase.
9
 
48
  * Arabic | Bulgarian | Chinese | Croatian | Czech | Danish | Dutch; Flemish | Estonian | Faroese | Finnish | French | Georgian | German | Greek | Hebrew | Hungarian | Icelandic | Indonesian | Italian | Japanese | Korean | Kurdish | Latvian | Lithuanian | Macedonian | Malay | Norwegian Bokmal | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish; Castilian | Swedish | Thai | Turkish | Ukranian | Urdu | Vietnamese
49
 
50
  == Changelog ==
51
+ = 1.4.10 =
52
+ * Fix CSRF issue when unlinking zopim account
53
+
54
  = 1.4.9 =
55
  * Tested on Wordpress v4.7
56
 
zopim.php CHANGED
@@ -5,13 +5,13 @@ Plugin Name: Zendesk Chat Widget
5
  Plugin URI: http://www.zendesk.com/chat?iref=wp_plugin
6
  Description: Zendesk Chat is an award winning chat solution that helps website owners to engage their visitors and convert customers into fans!
7
  Author: Zopim
8
- Version: 1.4.9
9
  Author URI: http://www.zendesk.com/chat?iref=wp_plugin
10
  Text Domain: zopim
11
  Domain path: /language
12
  */
13
 
14
- define( 'VERSION_NUMBER', "1.4.9" );
15
  define( 'ZOPIM_BASE_URL', "https://www.zopim.com/" );
16
  define( 'ZOPIM_ACCOUNT_URL', "https://account.zopim.com/" );
17
  define( 'ZOPIM_SIGNUP_REDIRECT_URL', ZOPIM_ACCOUNT_URL . "?aref=MjUxMjY4:1TeORR:9SP1e-iPTuAVXROJA6UU5seC8x4&visit_id=6ffe00ec3cfc11e2b5ab22000a1db8fa&utm_source=account%2Bsetup%2Bpage&utm_medium=link&utm_campaign=wp%2Bsignup2#signup" );
5
  Plugin URI: http://www.zendesk.com/chat?iref=wp_plugin
6
  Description: Zendesk Chat is an award winning chat solution that helps website owners to engage their visitors and convert customers into fans!
7
  Author: Zopim
8
+ Version: 1.4.10
9
  Author URI: http://www.zendesk.com/chat?iref=wp_plugin
10
  Text Domain: zopim
11
  Domain path: /language
12
  */
13
 
14
+ define( 'VERSION_NUMBER', "1.4.10" );
15
  define( 'ZOPIM_BASE_URL', "https://www.zopim.com/" );
16
  define( 'ZOPIM_ACCOUNT_URL', "https://account.zopim.com/" );
17
  define( 'ZOPIM_SIGNUP_REDIRECT_URL', ZOPIM_ACCOUNT_URL . "?aref=MjUxMjY4:1TeORR:9SP1e-iPTuAVXROJA6UU5seC8x4&visit_id=6ffe00ec3cfc11e2b5ab22000a1db8fa&utm_source=account%2Bsetup%2Bpage&utm_medium=link&utm_campaign=wp%2Bsignup2#signup" );