Version Description
Download this release
Release Info
Developer | Disqus |
Plugin | Disqus Comment System |
Version | 2.65 |
Comparing to | |
See all releases |
Code changes from version 2.64 to 2.65
- comments.php +1 -1
- disqus.php +7 -7
- manage.php +1 -0
- readme.txt +6 -2
comments.php
CHANGED
@@ -36,7 +36,7 @@ if (DISQUS_DEBUG) {
|
|
36 |
|
37 |
<script type="text/javascript">
|
38 |
/* <![CDATA[ */
|
39 |
-
var disqus_url = '<?php echo get_permalink(); ?>
|
40 |
var disqus_identifier = '<?php echo dsq_identifier_for_post($post); ?>';
|
41 |
var disqus_container_id = 'disqus_thread';
|
42 |
var disqus_domain = '<?php echo DISQUS_DOMAIN; ?>';
|
36 |
|
37 |
<script type="text/javascript">
|
38 |
/* <![CDATA[ */
|
39 |
+
var disqus_url = '<?php echo get_permalink(); ?>';
|
40 |
var disqus_identifier = '<?php echo dsq_identifier_for_post($post); ?>';
|
41 |
var disqus_container_id = 'disqus_thread';
|
42 |
var disqus_domain = '<?php echo DISQUS_DOMAIN; ?>';
|
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 |
|
@@ -31,7 +31,7 @@ define('DISQUS_CAN_EXPORT', is_file(dirname(__FILE__) . '/export.php'));
|
|
31 |
if (!defined('DISQUS_DEBUG')) {
|
32 |
define('DISQUS_DEBUG', false);
|
33 |
}
|
34 |
-
define('DISQUS_VERSION', '2.
|
35 |
|
36 |
/**
|
37 |
* Returns an array of all option identifiers used by DISQUS.
|
@@ -188,7 +188,7 @@ function dsq_manage_dialog($message, $error = false) {
|
|
188 |
. '</strong></p></div>';
|
189 |
}
|
190 |
|
191 |
-
function dsq_sync_comments(
|
192 |
global $wpdb;
|
193 |
|
194 |
// user MUST be logged out during this process
|
@@ -553,7 +553,7 @@ function dsq_sync_forum($last_comment_id=false) {
|
|
553 |
|
554 |
add_action('dsq_sync_forum', 'dsq_sync_forum');
|
555 |
|
556 |
-
function dsq_update_permalink(
|
557 |
global $dsq_api;
|
558 |
|
559 |
$response = $dsq_api->api->update_thread(null, array(
|
@@ -1014,13 +1014,13 @@ function dsq_parse_query($query) {
|
|
1014 |
add_action('parse_request', 'dsq_parse_query');
|
1015 |
|
1016 |
// track the original request post_ids, only run once
|
1017 |
-
function dsq_add_request_post_ids(
|
1018 |
dsq_add_query_posts($posts);
|
1019 |
remove_action('the_posts', 'dsq_log_request_post_ids', 999);
|
1020 |
return $posts;
|
1021 |
}
|
1022 |
|
1023 |
-
function dsq_maybe_add_post_ids(
|
1024 |
global $DSQ_QUERY_COMMENTS;
|
1025 |
if ($DSQ_QUERY_COMMENTS) {
|
1026 |
dsq_add_query_posts($posts);
|
@@ -1029,7 +1029,7 @@ function dsq_maybe_add_post_ids(&$posts) {
|
|
1029 |
}
|
1030 |
add_action('the_posts', 'dsq_maybe_add_post_ids');
|
1031 |
|
1032 |
-
function dsq_add_query_posts(
|
1033 |
global $DSQ_QUERY_POST_IDS;
|
1034 |
if (count($posts)) {
|
1035 |
foreach ($posts as $post) {
|
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.65
|
8 |
Author URI: http://disqus.com/
|
9 |
*/
|
10 |
|
31 |
if (!defined('DISQUS_DEBUG')) {
|
32 |
define('DISQUS_DEBUG', false);
|
33 |
}
|
34 |
+
define('DISQUS_VERSION', '2.65');
|
35 |
|
36 |
/**
|
37 |
* Returns an array of all option identifiers used by DISQUS.
|
188 |
. '</strong></p></div>';
|
189 |
}
|
190 |
|
191 |
+
function dsq_sync_comments($comments) {
|
192 |
global $wpdb;
|
193 |
|
194 |
// user MUST be logged out during this process
|
553 |
|
554 |
add_action('dsq_sync_forum', 'dsq_sync_forum');
|
555 |
|
556 |
+
function dsq_update_permalink($post) {
|
557 |
global $dsq_api;
|
558 |
|
559 |
$response = $dsq_api->api->update_thread(null, array(
|
1014 |
add_action('parse_request', 'dsq_parse_query');
|
1015 |
|
1016 |
// track the original request post_ids, only run once
|
1017 |
+
function dsq_add_request_post_ids($posts) {
|
1018 |
dsq_add_query_posts($posts);
|
1019 |
remove_action('the_posts', 'dsq_log_request_post_ids', 999);
|
1020 |
return $posts;
|
1021 |
}
|
1022 |
|
1023 |
+
function dsq_maybe_add_post_ids($posts) {
|
1024 |
global $DSQ_QUERY_COMMENTS;
|
1025 |
if ($DSQ_QUERY_COMMENTS) {
|
1026 |
dsq_add_query_posts($posts);
|
1029 |
}
|
1030 |
add_action('the_posts', 'dsq_maybe_add_post_ids');
|
1031 |
|
1032 |
+
function dsq_add_query_posts($posts) {
|
1033 |
global $DSQ_QUERY_POST_IDS;
|
1034 |
if (count($posts)) {
|
1035 |
foreach ($posts as $post) {
|
manage.php
CHANGED
@@ -400,6 +400,7 @@ case 0:
|
|
400 |
<h3><?php echo dsq_i('Debug Information'); ?></h3>
|
401 |
<p><?php echo dsq_i('Having problems with the plugin? <a href="%s">Drop us a line</a> and include the following details and we\'ll do what we can.', 'mailto:help+wp@disqus.com'); ?></p>
|
402 |
<textarea style="width:90%; height:200px;">URL: <?php echo get_option('siteurl'); ?>
|
|
|
403 |
Version: <?php echo $wp_version; ?>
|
404 |
Active Theme: <?php $theme = get_theme(get_current_theme()); echo $theme['Name'].' '.$theme['Version']; ?>
|
405 |
URLOpen Method: <?php echo dsq_url_method(); ?>
|
400 |
<h3><?php echo dsq_i('Debug Information'); ?></h3>
|
401 |
<p><?php echo dsq_i('Having problems with the plugin? <a href="%s">Drop us a line</a> and include the following details and we\'ll do what we can.', 'mailto:help+wp@disqus.com'); ?></p>
|
402 |
<textarea style="width:90%; height:200px;">URL: <?php echo get_option('siteurl'); ?>
|
403 |
+
PHP Version: <?php echo phpversion(); ?>
|
404 |
Version: <?php echo $wp_version; ?>
|
405 |
Active Theme: <?php $theme = get_theme(get_current_theme()); echo $theme['Name'].' '.$theme['Version']; ?>
|
406 |
URLOpen Method: <?php echo dsq_url_method(); ?>
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: disqus, alexkingorg, crowdfavorite
|
3 |
Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget, disqus
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 2.
|
7 |
|
8 |
The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
|
9 |
|
@@ -62,6 +62,10 @@ you should remove it, and the new plugin should be stored in 'disqus'.
|
|
62 |
|
63 |
== Changes ==
|
64 |
|
|
|
|
|
|
|
|
|
65 |
2.64
|
66 |
|
67 |
* Added an option to disable Disqus without deactivating the plugin.
|
2 |
Contributors: disqus, alexkingorg, crowdfavorite
|
3 |
Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget, disqus
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.1.2
|
6 |
+
Stable tag: 2.65
|
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.65
|
66 |
+
|
67 |
+
* Corrected a bug that was causing posts to not appear due to invalid references.
|
68 |
+
|
69 |
2.64
|
70 |
|
71 |
* Added an option to disable Disqus without deactivating the plugin.
|