Comments – wpDiscuz - Version 7.3.6

Version Description

Download this release

Release Info

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

Code changes from version 7.3.5 to 7.3.6

class.WpdiscuzCore.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: wpDiscuz
4
  * Description: #1 WordPress Comment Plugin. Innovative, modern and feature-rich comment system to supercharge your website comment section.
5
- * Version: 7.3.5
6
  * Author: gVectors Team
7
  * Author URI: https://gvectors.com/
8
  * Plugin URI: https://wpdiscuz.com/
2
  /*
3
  * Plugin Name: wpDiscuz
4
  * Description: #1 WordPress Comment Plugin. Innovative, modern and feature-rich comment system to supercharge your website comment section.
5
+ * Version: 7.3.6
6
  * Author: gVectors Team
7
  * Author URI: https://gvectors.com/
8
  * Plugin URI: https://wpdiscuz.com/
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: gVectors Team
3
  Tags: comment, comments, ajax comments, comment form, comment fields
4
  Requires at least: 5.0
5
  Tested up to: 5.8
6
- Stable tag: 7.3.5
7
  Requires PHP: 5.6 and higher
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -185,29 +185,30 @@ Nothing will be lost! **Comments - wpDiscuz** will show all old comments.
185
 
186
  == Changelog ==
187
 
188
- = Comments - wpDiscuz v7.3.5 =
189
 
190
- * Fixed bug: Proper escaping && sanitization of variables
191
- * Fixed bug: Nonce is invalid, conflict with cache plugins
192
- * Fixed bug: Problem with Comment Fields Background option
193
- * Fixed bug: Problem with Edit Button (Allow comment editing for "Unlimited" time) option
194
 
195
  **IMPORTANT!**
196
 
197
  * Please don't forget delete all caches and purge CDN after the update.
198
 
199
 
 
 
 
 
 
 
 
200
  = Comments - wpDiscuz v7.3.4 =
201
 
 
202
  * Fixed bug: Small security issue, wp_nonce verification to all ajax actions
203
  * Fixed Bug: Issues with "sticky" and "closed" comments
204
  * Fixed Bug: PHP Error - Too few arguments to function cleanCommentRelatedRows()
205
  * Fixed Bug: Comments still can be deleted by user from "My contents and settings" popup even when deleting is disabled in "Front End Moderation" addon.
206
 
207
- **IMPORTANT!**
208
-
209
- * Please don't forget delete all caches and purge CDN after the update.
210
-
211
 
212
  = Comments - wpDiscuz v7.3.3 =
213
 
3
  Tags: comment, comments, ajax comments, comment form, comment fields
4
  Requires at least: 5.0
5
  Tested up to: 5.8
6
+ Stable tag: 7.3.6
7
  Requires PHP: 5.6 and higher
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
185
 
186
  == Changelog ==
187
 
188
+ = Comments - wpDiscuz v7.3.6 =
189
 
190
+ Fixed bug: Nonce is invalid with the wpDiscuz AJAX function.
 
 
 
191
 
192
  **IMPORTANT!**
193
 
194
  * Please don't forget delete all caches and purge CDN after the update.
195
 
196
 
197
+ = Comments - wpDiscuz v7.3.5 =
198
+
199
+ * Fixed bug: Proper escaping && sanitization of variables
200
+ * Fixed bug: Nonce is invalid, conflict with cache plugins
201
+ * Fixed bug: Problem with Comment Fields Background option
202
+ * Fixed bug: Problem with Edit Button (Allow comment editing for "Unlimited" time) option
203
+
204
  = Comments - wpDiscuz v7.3.4 =
205
 
206
+
207
  * Fixed bug: Small security issue, wp_nonce verification to all ajax actions
208
  * Fixed Bug: Issues with "sticky" and "closed" comments
209
  * Fixed Bug: PHP Error - Too few arguments to function cleanCommentRelatedRows()
210
  * Fixed Bug: Comments still can be deleted by user from "My contents and settings" popup even when deleting is disabled in "Front End Moderation" addon.
211
 
 
 
 
 
212
 
213
  = Comments - wpDiscuz v7.3.3 =
214
 
utils/ajax/wpdiscuz-ajax.php CHANGED
@@ -51,6 +51,7 @@ $allowedActions = [
51
  "wpdAddSubscription",
52
  "wpdUnsubscribe",
53
  "wpdUserRate",
 
54
  ];
55
 
56
  // Load more comments
@@ -142,6 +143,9 @@ add_action("wpdiscuz_nopriv_wpdAddSubscription", [$wpdiscuz->helperEmail, "addSu
142
  // Unsubscribe
143
  add_action("wpdiscuz_wpdUnsubscribe", [$wpdiscuz->helperAjax, "unsubscribe"]);
144
  add_action("wpdiscuz_nopriv_wpdUnsubscribe", [$wpdiscuz->helperAjax, "unsubscribe"]);
 
 
 
145
 
146
  if (in_array($wpdiscuz_ajax_action, $allowedActions)) {
147
  if (is_user_logged_in()) {
51
  "wpdAddSubscription",
52
  "wpdUnsubscribe",
53
  "wpdUserRate",
54
+ "wpdGetNonce"
55
  ];
56
 
57
  // Load more comments
143
  // Unsubscribe
144
  add_action("wpdiscuz_wpdUnsubscribe", [$wpdiscuz->helperAjax, "unsubscribe"]);
145
  add_action("wpdiscuz_nopriv_wpdUnsubscribe", [$wpdiscuz->helperAjax, "unsubscribe"]);
146
+ //GetNonce
147
+ add_action("wpdiscuz_wpdGetNonce", [$wpdiscuz->helper, "getNonce"]);
148
+ add_action("wpdiscuz_nopriv_wpdGetNonce", [$wpdiscuz->helper, "getNonce"]);
149
 
150
  if (in_array($wpdiscuz_ajax_action, $allowedActions)) {
151
  if (is_user_logged_in()) {