Comments – wpDiscuz - Version 4.0.6

Version Description

  • Fixed Bug: HTML filtering
  • Changed: Removing "img" quicktag

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.6
Comparing to
See all releases

Code changes from version 4.0.5 to 4.0.6

assets/third-party/quicktags/wpdiscuz-quictags.js CHANGED
@@ -2,7 +2,7 @@ jQuery(document).ready(function ($) {
2
  var id = 'wc-textarea-0_0';
3
  settings = {
4
  id: id,
5
- buttons: 'strong,em,link,img,ul,ol,li'
6
  }
7
  QTags.addButton('wpdiscuz_blockquot', 'b-quote', '<blockquote>', '</blockquote>', '', 'Blockquote', 40);
8
  QTags.addButton('wpdiscuz_underline', 'U', '<u>', '</u>', '', 'Underline', 50);
@@ -15,7 +15,7 @@ jQuery(document).ready(function ($) {
15
  if (uniqueId) {
16
  var settings = {
17
  id: uniqueId,
18
- buttons: 'strong,em,link,img,ul,ol,li'
19
  }
20
  quicktags(settings);
21
  QTags._buttonsInit();
2
  var id = 'wc-textarea-0_0';
3
  settings = {
4
  id: id,
5
+ buttons: 'strong,em,link,ul,ol,li'
6
  }
7
  QTags.addButton('wpdiscuz_blockquot', 'b-quote', '<blockquote>', '</blockquote>', '', 'Blockquote', 40);
8
  QTags.addButton('wpdiscuz_underline', 'U', '<u>', '</u>', '', 'Underline', 50);
15
  if (uniqueId) {
16
  var settings = {
17
  id: uniqueId,
18
+ buttons: 'strong,em,link,ul,ol,li'
19
  }
20
  quicktags(settings);
21
  QTags._buttonsInit();
class.WpdiscuzCore.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  * Plugin Name: Comments - 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.5
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  * Author URI: http://gvectors.com/
9
  * Plugin URI: http://wpdiscuz.com/
@@ -67,7 +67,6 @@ class WpdiscuzCore implements WpDiscuzConstants {
67
  add_action('admin_enqueue_scripts', array(&$this, 'adminPageStylesScripts'), 100);
68
  add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
69
  add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), 8);
70
- add_action('wp_kses_allowed_html', array(&$this->helper, 'filterKses'));
71
 
72
  $wp_version = get_bloginfo('version');
73
  if (version_compare($wp_version, '4.2.0', '>=')) {
3
  /*
4
  * Plugin Name: Comments - 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.6
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  * Author URI: http://gvectors.com/
9
  * Plugin URI: http://wpdiscuz.com/
67
  add_action('admin_enqueue_scripts', array(&$this, 'adminPageStylesScripts'), 100);
68
  add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
69
  add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), 8);
 
70
 
71
  $wp_version = get_bloginfo('version');
72
  if (version_compare($wp_version, '4.2.0', '>=')) {
readme.txt CHANGED
@@ -3,11 +3,11 @@ 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.7
6
- Stable tag: 4.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- AJAX powered comments, realtime comments. Designed to extend WordPress native comments. Custom comment forms and fields.
11
 
12
  == Description ==
13
 
@@ -83,7 +83,7 @@ Integration with AntiSpam plugins
83
  * | [wpDiscuz - Ads Manager](http://gvectors.com/product/wpdiscuz-ads-manager/)
84
  * | [wpDiscuz - User & Comment Mentioning](http://gvectors.com/product/wpdiscuz-user-comment-mentioning/)
85
  * | [wpDiscuz - Advanced Likers](http://gvectors.com/product/wpdiscuz-advanced-likers/)
86
- * | [wpDiscuz - Comment Censure](http://gvectors.com/product/comment-censure/)
87
 
88
 
89
  This comment system is also available for WooCommerce, Plugin name is WooDiscuz:
@@ -139,6 +139,18 @@ Support Forum: http://gvectors.com/forum/
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  = 4.0.5 =
143
 
144
  * Added: Spoiler quicktag and Spoiler in comment content
@@ -155,13 +167,6 @@ Support Forum: http://gvectors.com/forum/
155
  * New Addon: [wpDiscuz - Subscription Manager](http://gvectors.com/product/wpdiscuz-subscribe-manager/)
156
  * Fixed Bug: Pending comments now appearing for Frontend Moderation addon, during live update(admins and editors).
157
 
158
- IMPORTANT:
159
-
160
- - If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
161
- - If you have a Cache Plugin, please delete all caches after wpDiscuz update.
162
- - If you use CDN and found some issue please purge it.
163
- - 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/)
164
-
165
  = 4.0.3 =
166
 
167
  * Added: Option to enable wpDiscuz on home page.
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.7
6
+ Stable tag: 4.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Comments - wpDiscuz: AJAX powered comments, realtime comments. Designed to extend WordPress native comments. Custom comment forms and fields.
11
 
12
  == Description ==
13
 
83
  * | [wpDiscuz - Ads Manager](http://gvectors.com/product/wpdiscuz-ads-manager/)
84
  * | [wpDiscuz - User & Comment Mentioning](http://gvectors.com/product/wpdiscuz-user-comment-mentioning/)
85
  * | [wpDiscuz - Advanced Likers](http://gvectors.com/product/wpdiscuz-advanced-likers/)
86
+ * | [wpDiscuz - Comments Censure](http://gvectors.com/product/comments-censure-pro/)
87
 
88
 
89
  This comment system is also available for WooCommerce, Plugin name is WooDiscuz:
139
 
140
  == Changelog ==
141
 
142
+ = 4.0.6 =
143
+
144
+ * Fixed Bug: HTML filtering
145
+ * Changed: Removing "img" quicktag
146
+
147
+ IMPORTANT:
148
+
149
+ - If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
150
+ - If you have a Cache Plugin, please delete all caches after wpDiscuz update.
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.5 =
155
 
156
  * Added: Spoiler quicktag and Spoiler in comment content
167
  * New Addon: [wpDiscuz - Subscription Manager](http://gvectors.com/product/wpdiscuz-subscribe-manager/)
168
  * Fixed Bug: Pending comments now appearing for Frontend Moderation addon, during live update(admins and editors).
169
 
 
 
 
 
 
 
 
170
  = 4.0.3 =
171
 
172
  * Added: Option to enable wpDiscuz on home page.
utils/class.WpdiscuzHelper.php CHANGED
@@ -29,7 +29,7 @@ class WpdiscuzHelper {
29
 
30
 
31
  public function filterKses(){
32
- global $allowedtags;
33
  $allowedtags['br'] = array();
34
  $allowedtags['a'] = array('href' => array(), 'title' => array(), 'target' => array(), 'rel' => array(), 'download' => array(), 'hreflang' => array(), 'media' => array(), 'type' => array());
35
  $allowedtags['i'] = array('class'=>array());
29
 
30
 
31
  public function filterKses(){
32
+ $allowedtags = array();
33
  $allowedtags['br'] = array();
34
  $allowedtags['a'] = array('href' => array(), 'title' => array(), 'target' => array(), 'rel' => array(), 'download' => array(), 'hreflang' => array(), 'media' => array(), 'type' => array());
35
  $allowedtags['i'] = array('class'=>array());