Disqus Comment System - Version 2.02.2969

Version Description

Download this release

Release Info

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

Code changes from version 2.02.2869 to 2.02.2969

Files changed (3) hide show
  1. comments.php +1 -1
  2. disqus.php +14 -12
  3. readme.txt +1 -1
comments.php CHANGED
@@ -304,7 +304,7 @@
304
  </div>
305
  <div id="dsq-reblog-form">
306
  </div>
307
- <div class="powered-by"><a href="<?php echo DISQUS_URL; ?>">Powered by <span class="disqus">Disqus</span></a>&nbsp;&middot;&nbsp;<a href="{{ disqus_url }}">Learn more</a></div>
308
  </div> <!-- padding -->
309
  </div> <!-- body -->
310
  <div id="dsq-popup-bottom"></div>
304
  </div>
305
  <div id="dsq-reblog-form">
306
  </div>
307
+ <div class="powered-by"><a href="<?php echo DISQUS_URL; ?>">Powered by <span class="disqus">Disqus</span></a>&nbsp;&middot;&nbsp;<a href="http://disqus.com/">Learn more</a></div>
308
  </div> <!-- padding -->
309
  </div> <!-- body -->
310
  <div id="dsq-popup-bottom"></div>
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.com <team@disqus.com>
7
- Version: 2.02-2869
8
  Author URI: http://disqus.com/
9
 
10
  */
@@ -222,19 +222,21 @@ function dsq_comment_count() {
222
  }
223
 
224
  ?>
225
-
226
  <script type="text/javascript">
227
- (function() {
228
- var links = document.getElementsByTagName('a');
229
- var query = '?';
230
- for(var i = 0; i < links.length; i++) {
231
- if(links[i].href.indexOf('#disqus_thread') >= 0) {
232
- links[i].innerHTML = 'View Comments';
233
- query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
 
 
234
  }
235
- }
236
- document.write('<script type="text/javascript" src="<?php echo DISQUS_URL ?>/forums/<?php echo strtolower(get_option('disqus_forum_url')); ?>/get_num_replies.js' + query + '"><' + '/script>');
237
- })();
238
  </script>
239
 
240
  <?php
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.com <team@disqus.com>
7
+ Version: 2.02-2969
8
  Author URI: http://disqus.com/
9
 
10
  */
222
  }
223
 
224
  ?>
225
+
226
  <script type="text/javascript">
227
+ // <![CDATA[
228
+ (function() {
229
+ var links = document.getElementsByTagName('a');
230
+ var query = '?';
231
+ for(var i = 0; i < links.length; i++) {
232
+ if(links[i].href.indexOf('#disqus_thread') >= 0) {
233
+ links[i].innerHTML = 'View Comments';
234
+ query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
235
+ }
236
  }
237
+ document.write('<script type="text/javascript" src="<?php echo DISQUS_URL ?>/forums/<?php echo strtolower(get_option('disqus_forum_url')); ?>/get_num_replies.js' + query + '"><' + '/script>');
238
+ })();
239
+ //]]>
240
  </script>
241
 
242
  <?php
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: DISQUS.com <team@disqus.com>
3
  Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget
4
  Requires at least: 2.0
5
  Tested up to: 2.6.1
6
- Stable tag: 2.02.2869
7
 
8
  The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS.
9
 
3
  Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget
4
  Requires at least: 2.0
5
  Tested up to: 2.6.1
6
+ Stable tag: 2.02.2969
7
 
8
  The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS.
9