Version Description
Download this release
Release Info
Developer | Disqus |
Plugin | Disqus Comment System |
Version | 2.33.8752 |
Comparing to | |
See all releases |
Code changes from version 2.32.8616 to 2.33.8752
- comments.php +0 -2
- disqus.php +2 -12
- lib/api.php +0 -12
- readme.txt +1 -1
comments.php
CHANGED
@@ -6,8 +6,6 @@
|
|
6 |
<div id="dsq-content">
|
7 |
<ul id="dsq-comments">
|
8 |
<?php foreach ( $dsq_response['posts'] as $comment ) : ?>
|
9 |
-
<div id="comment-<?php echo $comment['id']; ?>"></div>
|
10 |
-
|
11 |
<li id="dsq-comment-<?php echo $comment['id']; ?>">
|
12 |
<div id="dsq-comment-header-<?php echo $comment['id']; ?>" class="dsq-comment-header">
|
13 |
<cite id="dsq-cite-<?php echo $comment['id']; ?>">
|
6 |
<div id="dsq-content">
|
7 |
<ul id="dsq-comments">
|
8 |
<?php foreach ( $dsq_response['posts'] as $comment ) : ?>
|
|
|
|
|
9 |
<li id="dsq-comment-<?php echo $comment['id']; ?>">
|
10 |
<div id="dsq-comment-header-<?php echo $comment['id']; ?>" class="dsq-comment-header">
|
11 |
<cite id="dsq-cite-<?php echo $comment['id']; ?>">
|
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.
|
8 |
Author URI: http://disqus.com/
|
9 |
*/
|
10 |
|
@@ -48,7 +48,7 @@ define('DSQ_PLUGIN_URL', WP_CONTENT_URL . '/plugins/' . dsq_plugin_basename(__FI
|
|
48 |
* @global string $dsq_version
|
49 |
* @since 1.0
|
50 |
*/
|
51 |
-
$dsq_version = '2.
|
52 |
$mt_dsq_version = '2.01';
|
53 |
/**
|
54 |
* Response from Disqus get_thread API call for comments template.
|
@@ -677,15 +677,6 @@ function dsq_warning() {
|
|
677 |
}
|
678 |
}
|
679 |
|
680 |
-
function dsq_check_version() {
|
681 |
-
global $dsq_api;
|
682 |
-
|
683 |
-
$latest_version = $dsq_api->wp_check_version();
|
684 |
-
if ( $latest_version ) {
|
685 |
-
dsq_manage_dialog('You are running an old version of the Disqus Comments plugin. Please <a href="http://disqus.com/help/wordpress" onclick="window.open(this.href); return false">check the website</a> for updates.');
|
686 |
-
}
|
687 |
-
}
|
688 |
-
|
689 |
// catch original query
|
690 |
function dsq_parse_query($query) {
|
691 |
add_action('the_posts', 'dsq_add_request_post_ids', 999);
|
@@ -829,7 +820,6 @@ function dsq_check_permalink($post_id) {
|
|
829 |
add_action('edit_post', 'dsq_check_permalink');
|
830 |
|
831 |
add_action('admin_notices', 'dsq_warning');
|
832 |
-
add_action('admin_notices', 'dsq_check_version');
|
833 |
|
834 |
// Only replace comments if the disqus_forum_url option is set.
|
835 |
add_filter('comments_template', 'dsq_comments_template');
|
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.33.8752
|
8 |
Author URI: http://disqus.com/
|
9 |
*/
|
10 |
|
48 |
* @global string $dsq_version
|
49 |
* @since 1.0
|
50 |
*/
|
51 |
+
$dsq_version = '2.33';
|
52 |
$mt_dsq_version = '2.01';
|
53 |
/**
|
54 |
* Response from Disqus get_thread API call for comments template.
|
677 |
}
|
678 |
}
|
679 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
// catch original query
|
681 |
function dsq_parse_query($query) {
|
682 |
add_action('the_posts', 'dsq_add_request_post_ids', 999);
|
820 |
add_action('edit_post', 'dsq_check_permalink');
|
821 |
|
822 |
add_action('admin_notices', 'dsq_warning');
|
|
|
823 |
|
824 |
// Only replace comments if the disqus_forum_url option is set.
|
825 |
add_filter('comments_template', 'dsq_comments_template');
|
lib/api.php
CHANGED
@@ -144,18 +144,6 @@ class DisqusAPI {
|
|
144 |
return $data;
|
145 |
}
|
146 |
|
147 |
-
function wp_check_version() {
|
148 |
-
global $dsq_version;
|
149 |
-
|
150 |
-
$response = @dsq_urlopen(DISQUS_MEDIA_URL . '/wp/LATEST_VERSION');
|
151 |
-
$latest_version = floatval($response['data']);
|
152 |
-
if($dsq_version < $latest_version) {
|
153 |
-
return $latest_version;
|
154 |
-
}
|
155 |
-
|
156 |
-
return false;
|
157 |
-
}
|
158 |
-
|
159 |
}
|
160 |
|
161 |
?>
|
144 |
return $data;
|
145 |
}
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
?>
|
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: 2.9.2
|
6 |
-
Stable tag: 2.
|
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.8
|
5 |
Tested up to: 2.9.2
|
6 |
+
Stable tag: 2.33.8752
|
7 |
|
8 |
The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
|
9 |
|