Disqus Comment System - Version 2.43

Version Description

Download this release

Release Info

Developer Disqus
Plugin Icon Disqus Comment System
Version 2.43
Comparing to
See all releases

Code changes from version 2.42 to 2.43

Files changed (3) hide show
  1. comments.php +3 -5
  2. disqus.php +1 -1
  3. readme.txt +6 -1
comments.php CHANGED
@@ -29,7 +29,7 @@
29
  <?php endforeach; ?>
30
  </ul>
31
  </div>
32
- <?
33
  }
34
  ?>
35
  </div>
@@ -61,12 +61,10 @@
61
  config.callbacks.preData.push(function() {
62
  // clear out the container (its filled for SEO/legacy purposes)
63
  document.getElementById(disqus_container_id).innerHTML = '';
64
- })
65
  config.callbacks.onReady.push(function() {
66
  // sync comments in the background so we don't block the page
67
- var req = new XMLHttpRequest();
68
- req.open('GET', '?cf_action=sync_comments&post_id=<?php echo $post->ID; ?>', true);
69
- req.send(null);
70
  });
71
  };
72
  var facebookXdReceiverPath = '<?php echo DSQ_PLUGIN_URL . '/xd_receiver.htm' ?>';
29
  <?php endforeach; ?>
30
  </ul>
31
  </div>
32
+ <?php
33
  }
34
  ?>
35
  </div>
61
  config.callbacks.preData.push(function() {
62
  // clear out the container (its filled for SEO/legacy purposes)
63
  document.getElementById(disqus_container_id).innerHTML = '';
64
+ });
65
  config.callbacks.onReady.push(function() {
66
  // sync comments in the background so we don't block the page
67
+ DISQUS.request.get('?cf_action=sync_comments&post_id=<?php echo $post->ID; ?>');
 
 
68
  });
69
  };
70
  var facebookXdReceiverPath = '<?php echo DSQ_PLUGIN_URL . '/xd_receiver.htm' ?>';
disqus.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Disqus Comment System
4
  Plugin URI: http://disqus.com/
5
  Description: The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus. Head over to the Comments admin page to set up your DISQUS Comment System.
6
  Author: Disqus <team@disqus.com>
7
- Version: 2.42
8
  Author URI: http://disqus.com/
9
  */
10
 
4
  Plugin URI: http://disqus.com/
5
  Description: The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus. Head over to the Comments admin page to set up your DISQUS Comment System.
6
  Author: Disqus <team@disqus.com>
7
+ Version: 2.43
8
  Author URI: http://disqus.com/
9
  */
10
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: disqus, alexkingorg, crowdfavorite
3
  Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
- Stable tag: 2.42
7
 
8
  The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
9
 
@@ -62,6 +62,11 @@ you should remove it, and the new plugin should be stored in 'disqus'.
62
 
63
  == Changes ==
64
 
 
 
 
 
 
65
  2.42
66
 
67
  * Correct a bug with saving disqus_user_api_key (non-critical).
3
  Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
+ Stable tag: 2.43
7
 
8
  The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
9
 
62
 
63
  == Changes ==
64
 
65
+ 2.43
66
+
67
+ * Fixed a JavaScript syntax error which would cause linting to fail.
68
+ * Correct an issue that was causing comments.php to throw a syntax error under some configurations.
69
+
70
  2.42
71
 
72
  * Correct a bug with saving disqus_user_api_key (non-critical).