Disqus Comment System - Version 2.72

Version Description

Download this release

Release Info

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

Code changes from version 2.71 to 2.72

Files changed (3) hide show
  1. disqus.php +10 -3
  2. manage.php +1 -1
  3. readme.txt +6 -1
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.71
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.71');
35
  define('DISQUS_SYNC_TIMEOUT', 30);
36
 
37
  /**
@@ -1177,7 +1177,14 @@ function dsq_output_loop_comment_js($post_ids = null) {
1177
  }
1178
  var s = document.createElement('script'); s.async = true;
1179
  s.type = 'text/javascript';
1180
- s.src = 'http://<?php echo DISQUS_DOMAIN; ?>/forums/' + disqus_shortname + '/count.js';
 
 
 
 
 
 
 
1181
  (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
1182
  }());
1183
  //]]>
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.72
8
  Author URI: http://disqus.com/
9
  */
10
 
31
  if (!defined('DISQUS_DEBUG')) {
32
  define('DISQUS_DEBUG', false);
33
  }
34
+ define('DISQUS_VERSION', '2.72');
35
  define('DISQUS_SYNC_TIMEOUT', 30);
36
 
37
  /**
1177
  }
1178
  var s = document.createElement('script'); s.async = true;
1179
  s.type = 'text/javascript';
1180
+ <?php
1181
+ if (is_ssl()) {
1182
+ $connection_type = "https";
1183
+ } else {
1184
+ $connection_type = "http";
1185
+ }
1186
+ ?>
1187
+ s.src = '<?php echo $connection_type; ?>' + '://' + '<?php echo DISQUS_DOMAIN; ?>/forums/' + disqus_shortname + '/count.js';
1188
  (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
1189
  }());
1190
  //]]>
manage.php CHANGED
@@ -226,7 +226,7 @@ case 0:
226
  echo 'http://'.$url.'.'.DISQUS_DOMAIN.'/admin/moderate/';
227
  } else {
228
  echo DISQUS_URL.'admin/moderate/';
229
- } ?>?template=wordpress" style="width: 100%; height: 80%"></iframe>
230
  </div>
231
  <?php } ?>
232
  </div>
226
  echo 'http://'.$url.'.'.DISQUS_DOMAIN.'/admin/moderate/';
227
  } else {
228
  echo DISQUS_URL.'admin/moderate/';
229
+ } ?>?template=wordpress" style="width: 100%; height: 80%; min-height: 600px;"></iframe>
230
  </div>
231
  <?php } ?>
232
  </div>
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.3.1
6
- Stable tag: 2.71
7
 
8
  The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
9
 
@@ -54,6 +54,11 @@ Go to [http://disqus.com/help/wordpress](http://disqus.com/help/wordpress)
54
 
55
  == Changes ==
56
 
 
 
 
 
 
57
  2.71
58
 
59
  * Fixed issue where embed wasn't using SSL if page was loaded via HTTPS
3
  Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget, disqus
4
  Requires at least: 2.8
5
  Tested up to: 3.3.1
6
+ Stable tag: 2.72
7
 
8
  The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
9
 
54
 
55
  == Changes ==
56
 
57
+ 2.72
58
+
59
+ * Load count.js via SSL when page is accessed via HTTPS
60
+ * Fixed styling issue with Disqus admin.
61
+
62
  2.71
63
 
64
  * Fixed issue where embed wasn't using SSL if page was loaded via HTTPS