Comments – wpDiscuz - Version 4.0.10

Version Description

  • Fixed Bug: captcha setting reseted on update

IMPORTANT:

  • If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
  • If you have a Cache Plugin, please delete all caches after wpDiscuz update.
  • If you use CDN and found some issue please purge it.
  • If your server PHP version is lower than 5.4, please change it to hogher
Download this release

Release Info

Developer AdvancedCoding
Plugin Icon 128x128 Comments – wpDiscuz
Version 4.0.10
Comparing to
See all releases

Code changes from version 4.0.9 to 4.0.10

class.WpdiscuzCore.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  * Plugin Name: WordPress Comments Plugin – wpDiscuz
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
- * Version: 4.0.9
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  * Author URI: https://gvectors.com/
9
  * Plugin URI: http://wpdiscuz.com/
@@ -43,6 +43,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
43
  public $commentsArgs;
44
  private $version;
45
  public $wpdiscuzForm;
 
46
 
47
  public function __construct() {
48
  $this->version = get_option(self::OPTION_SLUG_VERSION, '1.0.0');
@@ -917,7 +918,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
917
  if (isset($oldOptions['wc_load_all_comments'])) {
918
  $this->optionsSerialized->commentListLoadType = 1;
919
  }
920
- if (!@is_writable($this->helper->captchaDir)) {
921
  if (isset($this->optionsSerialized->isCaptchaInSession)) {
922
  $this->optionsSerialized->isCaptchaInSession = 1;
923
  $oldOptions['isCaptchaInSession'] = 1;
3
  /*
4
  * Plugin Name: WordPress Comments Plugin – wpDiscuz
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
+ * Version: 4.0.10
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  * Author URI: https://gvectors.com/
9
  * Plugin URI: http://wpdiscuz.com/
43
  public $commentsArgs;
44
  private $version;
45
  public $wpdiscuzForm;
46
+ public static $CAPTCHA_DIR = WPDISCUZ_DIR_PATH . WPDISCUZ_DS . 'utils' . WPDISCUZ_DS . 'temp';
47
 
48
  public function __construct() {
49
  $this->version = get_option(self::OPTION_SLUG_VERSION, '1.0.0');
918
  if (isset($oldOptions['wc_load_all_comments'])) {
919
  $this->optionsSerialized->commentListLoadType = 1;
920
  }
921
+ if (!@is_writable(self::$CAPTCHA_DIR)) {
922
  if (isset($this->optionsSerialized->isCaptchaInSession)) {
923
  $this->optionsSerialized->isCaptchaInSession = 1;
924
  $oldOptions['isCaptchaInSession'] = 1;
options/options-layouts/settings-show-hide.php CHANGED
@@ -71,8 +71,7 @@ if (!defined('ABSPATH')) {
71
  </td>
72
  </tr>
73
  <?php
74
- $pathToDir = WPDISCUZ_DIR_PATH . WPDISCUZ_DS . 'utils' . WPDISCUZ_DS . 'temp';
75
- $isWritable = @is_writable($pathToDir);
76
  if ($isWritable) {
77
  $disableCaptcha = '';
78
  $msg = '';
71
  </td>
72
  </tr>
73
  <?php
74
+ $isWritable = @is_writable(WpdiscuzCore::$CAPTCHA_DIR);
 
75
  if ($isWritable) {
76
  $disableCaptcha = '';
77
  $msg = '';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: gVectors Team
3
  Tags: wordpress comments, ajax comments, ajax, custom form, custom fields, live update, live comments, realtime chat, chat, realtime commenting, Lazy load, Lazy load comments, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jetpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
4
  Requires at least: 3.8.0
5
  Tested up to: 4.8
6
- Stable tag: 4.0.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -140,13 +140,9 @@ Support Forum: https://gvectors.com/forum/
140
 
141
  == Changelog ==
142
 
143
- = 4.0.9 =
144
-
145
- * Fixed Bug: Subscription doesn't work when replying from dashboard
146
- * Fixed Bug: Wrong subscription confirmation link on second comment subscription
147
- * Fixed Bug: Comments sorting problem if comment sorting type is set "older".
148
- * Fixed Bug: Design issue with phrase tabs.
149
 
 
150
 
151
  IMPORTANT:
152
 
@@ -155,6 +151,12 @@ IMPORTANT:
155
  - If you use CDN and found some issue please purge it.
156
  - If your server PHP version is lower than 5.4, [please change it to hogher](https://wordpress.org/support/topic/wpdiscuz-4-requires-php-5-4-and-higher/)
157
 
 
 
 
 
 
 
158
 
159
  = 4.0.8 =
160
 
3
  Tags: wordpress comments, ajax comments, ajax, custom form, custom fields, live update, live comments, realtime chat, chat, realtime commenting, Lazy load, Lazy load comments, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jetpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
4
  Requires at least: 3.8.0
5
  Tested up to: 4.8
6
+ Stable tag: 4.0.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
140
 
141
  == Changelog ==
142
 
143
+ = 4.0.10 =
 
 
 
 
 
144
 
145
+ * Fixed Bug: captcha setting reseted on update
146
 
147
  IMPORTANT:
148
 
151
  - If you use CDN and found some issue please purge it.
152
  - If your server PHP version is lower than 5.4, [please change it to hogher](https://wordpress.org/support/topic/wpdiscuz-4-requires-php-5-4-and-higher/)
153
 
154
+ = 4.0.9 =
155
+
156
+ * Fixed Bug: Subscription doesn't work when replying from dashboard
157
+ * Fixed Bug: Wrong subscription confirmation link on second comment subscription
158
+ * Fixed Bug: Comments sorting problem if comment sorting type is set "older".
159
+ * Fixed Bug: Design issue with phrase tabs.
160
 
161
  = 4.0.8 =
162