Disqus Comment System - Version 2.02.2869

Version Description

Download this release

Release Info

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

Code changes from version 2.02.2812 to 2.02.2869

Files changed (4) hide show
  1. comments.php +1 -1
  2. disqus.php +2 -2
  3. manage.php +2 -2
  4. readme.txt +1 -1
comments.php CHANGED
@@ -214,7 +214,7 @@
214
  <h3>Trackbacks</h3>
215
  <ul id="dsq-references">
216
  </ul>
217
- <? endif ; ?>
218
  </div>
219
  </div>
220
 
214
  <h3>Trackbacks</h3>
215
  <ul id="dsq-references">
216
  </ul>
217
+ <?php endif ; ?>
218
  </div>
219
  </div>
220
 
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-2812
8
  Author URI: http://disqus.com/
9
 
10
  */
@@ -24,7 +24,7 @@ require_once('lib/api.php');
24
  * @global string $dsq_version
25
  * @since 1.0
26
  */
27
- $dsq_version = '2.01';
28
  /**
29
  * Response from DISQUS get_thread API call for comments template.
30
  *
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
  */
24
  * @global string $dsq_version
25
  * @since 1.0
26
  */
27
+ $dsq_version = '2.02';
28
  /**
29
  * Response from DISQUS get_thread API call for comments template.
30
  *
manage.php CHANGED
@@ -60,7 +60,7 @@ if ( isset($_POST['dsq_forum_url']) && isset($_POST['dsq_username']) && isset($_
60
  $api_key = $dsq_api->get_forum_api_key($_POST['dsq_username'], $_POST['dsq_password'], $_POST['dsq_forum_url']);
61
  update_option('disqus_forum_url', $_POST['dsq_forum_url']);
62
 
63
- if ( $api_key < 0 ) {
64
  update_option('disqus_replace', 'replace');
65
  dsq_manage_dialog('There was an error completing the installation of DISQUS. If you are still having issues, please contact <a href="mailto:help@disqus.com">help@disqus.com</a>.', true);
66
  } else {
@@ -255,7 +255,7 @@ if(function_exists('curl_init')) {
255
  <select name="disqus_replace" tabindex="3" class="disqus-replace">
256
  <?php if ( dsq_legacy_mode() ) : ?>
257
  <option value="empty" <?php if('empty'==$dsq_replace){echo 'selected';}?>>Only future blog posts and existing posts without WordPress comments.</option>
258
- <? endif ; ?>
259
  <option value="all" <?php if('all'==$dsq_replace){echo 'selected';}?>>On all existing and future blog posts.</option>
260
  <option value="closed" <?php if('closed'==$dsq_replace){echo 'selected';}?>>Only on blog posts with closed comments.</option>
261
  </select>
60
  $api_key = $dsq_api->get_forum_api_key($_POST['dsq_username'], $_POST['dsq_password'], $_POST['dsq_forum_url']);
61
  update_option('disqus_forum_url', $_POST['dsq_forum_url']);
62
 
63
+ if ( is_numeric($api_key) && $api_key < 0 ) {
64
  update_option('disqus_replace', 'replace');
65
  dsq_manage_dialog('There was an error completing the installation of DISQUS. If you are still having issues, please contact <a href="mailto:help@disqus.com">help@disqus.com</a>.', true);
66
  } else {
255
  <select name="disqus_replace" tabindex="3" class="disqus-replace">
256
  <?php if ( dsq_legacy_mode() ) : ?>
257
  <option value="empty" <?php if('empty'==$dsq_replace){echo 'selected';}?>>Only future blog posts and existing posts without WordPress comments.</option>
258
+ <?php endif ; ?>
259
  <option value="all" <?php if('all'==$dsq_replace){echo 'selected';}?>>On all existing and future blog posts.</option>
260
  <option value="closed" <?php if('closed'==$dsq_replace){echo 'selected';}?>>Only on blog posts with closed comments.</option>
261
  </select>
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.2812
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.2869
7
 
8
  The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS.
9