Disqus Comment System - Version 2.50

Version Description

Download this release

Release Info

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

Code changes from version 2.49 to 2.50

Files changed (3) hide show
  1. disqus.php +2 -2
  2. readme.txt +11 -1
  3. upgrade.php +19 -0
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.49
8
  Author URI: http://disqus.com/
9
  */
10
 
@@ -20,7 +20,7 @@ define('DISQUS_CAN_EXPORT', is_file(dirname(__FILE__) . '/export.php'));
20
  if (!defined('DISQUS_DEBUG')) {
21
  define('DISQUS_DEBUG', false);
22
  }
23
- define('DISQUS_VERSION', '2.49');
24
 
25
  /**
26
  * Returns an array of all option identifiers used by DISQUS.
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.50
8
  Author URI: http://disqus.com/
9
  */
10
 
20
  if (!defined('DISQUS_DEBUG')) {
21
  define('DISQUS_DEBUG', false);
22
  }
23
+ define('DISQUS_VERSION', '2.50');
24
 
25
  /**
26
  * Returns an array of all option identifiers used by DISQUS.
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.0
6
- Stable tag: 2.49
7
 
8
  The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
9
 
@@ -62,10 +62,20 @@ you should remove it, and the new plugin should be stored in 'disqus'.
62
 
63
  == Changes ==
64
 
 
 
 
 
65
  2.49
66
 
67
  * Database usage has been optimized for storing comment meta data.
68
 
 
 
 
 
 
 
69
  2.48
70
 
71
  * Comment synchronization has been optimized to be a single call per-site.
3
  Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget, disqus
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
+ Stable tag: 2.50
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.50
66
+
67
+ * Added missing file.
68
+
69
  2.49
70
 
71
  * Database usage has been optimized for storing comment meta data.
72
 
73
+ You can perform this migration automatically by visiting Comments -> Disqus, or if
74
+ you have a large database, you may do this by hand:
75
+
76
+ CREATE INDEX disqus_dupecheck ON `wp_commentmeta` (meta_key, meta_value(11));
77
+ INSERT INTO `wp_options` (blog_id, option_name, option_value, autoload) VALUES (0, 'disqus_version', '2.49', 'yes') ON DUPLICATE KEY UPDATE option_value = VALUES(option_value);
78
+
79
  2.48
80
 
81
  * Comment synchronization has been optimized to be a single call per-site.
upgrade.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ require(ABSPATH . 'wp-includes/version.php');
3
+
4
+ if ( !current_user_can('manage_options') ) {
5
+ die();
6
+ }
7
+
8
+
9
+ ?>
10
+ <div class="wrap">
11
+ <h2><?php echo dsq_i('Upgrade Disqus Comments'); ?></h2>
12
+ <form method="POST" action="?page=disqus">
13
+ <p>You need to upgrade your database to continue.</p>
14
+
15
+ <p class="submit" style="text-align: left">
16
+ <input type="submit" name="upgrade" value="Upgrade &raquo;" />
17
+ </p>
18
+ </form>
19
+ </div>