Version Description
- Fix PHP errors when there are no comments to sync
- Adds a new option to render Disqus javascript directly in page markup
Download this release
Release Info
Developer | ryanv12 |
Plugin | Disqus Comment System |
Version | 2.82 |
Comparing to | |
See all releases |
Code changes from version 2.81 to 2.82
- comments.php +63 -3
- disqus.php +50 -45
- locales/default.mo +0 -0
- locales/default.po +114 -97
- manage.php +18 -1
- readme.txt +6 -1
comments.php
CHANGED
@@ -88,8 +88,68 @@ if ($sso) {
|
|
88 |
);
|
89 |
}
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
?>
|
88 |
);
|
89 |
}
|
90 |
|
91 |
+
if ( get_option('dsq_external_js') == '1' ) {
|
92 |
+
wp_register_script( 'dsq_embed_script', plugins_url( '/media/js/disqus.js', __FILE__ ) );
|
93 |
+
wp_localize_script( 'dsq_embed_script', 'embedVars', $embed_vars );
|
94 |
+
wp_enqueue_script( 'dsq_embed_script', plugins_url( '/media/js/disqus.js', __FILE__ ) );
|
95 |
+
}
|
96 |
+
else {
|
97 |
+
|
98 |
+
?>
|
99 |
+
<script type="text/javascript">
|
100 |
+
var disqus_url = '<?php echo get_permalink(); ?>';
|
101 |
+
var disqus_identifier = '<?php echo dsq_identifier_for_post($post); ?>';
|
102 |
+
var disqus_container_id = 'disqus_thread';
|
103 |
+
var disqus_shortname = '<?php echo strtolower(get_option('disqus_forum_url')); ?>';
|
104 |
+
var disqus_title = <?php echo cf_json_encode( dsq_title_for_post($post) ); ?>;
|
105 |
+
var disqus_config_custom = window.disqus_config;
|
106 |
+
var disqus_config = function () {
|
107 |
+
/*
|
108 |
+
All currently supported events:
|
109 |
+
onReady: fires when everything is ready,
|
110 |
+
onNewComment: fires when a new comment is posted,
|
111 |
+
onIdentify: fires when user is authenticated
|
112 |
+
*/
|
113 |
+
|
114 |
+
<?php
|
115 |
+
$sso = dsq_sso();
|
116 |
+
if ($sso) {
|
117 |
+
foreach ($sso as $k=>$v) {
|
118 |
+
echo esc_js( 'this.page.{$k} = \'{$v}\';\n' );
|
119 |
+
}
|
120 |
+
echo dsq_sso_login();
|
121 |
+
}
|
122 |
+
?>
|
123 |
+
|
124 |
+
this.language = '<?php echo esc_js( apply_filters('disqus_language_filter', '') ) ?>';
|
125 |
+
<?php if (!get_option('disqus_manual_sync')): ?>
|
126 |
+
this.callbacks.onReady.push(function () {
|
127 |
+
|
128 |
+
// sync comments in the background so we don't block the page
|
129 |
+
var script = document.createElement('script');
|
130 |
+
script.async = true;
|
131 |
+
script.src = '?cf_action=sync_comments&post_id=<?php echo esc_attr( $post->ID ); ?>';
|
132 |
+
|
133 |
+
var firstScript = document.getElementsByTagName('script')[0];
|
134 |
+
firstScript.parentNode.insertBefore(script, firstScript);
|
135 |
+
});
|
136 |
+
<?php endif; ?>
|
137 |
+
|
138 |
+
if (disqus_config_custom) {
|
139 |
+
disqus_config_custom.call(this);
|
140 |
+
}
|
141 |
+
};
|
142 |
+
|
143 |
+
(function() {
|
144 |
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript';
|
145 |
+
dsq.async = true;
|
146 |
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
147 |
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
148 |
+
})();
|
149 |
+
</script>
|
150 |
+
|
151 |
+
<?php
|
152 |
+
|
153 |
+
}
|
154 |
|
155 |
?>
|
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 |
|
@@ -18,7 +18,7 @@ define('DISQUS_CAN_EXPORT', is_file(dirname(__FILE__) . '/export.php'));
|
|
18 |
if (!defined('DISQUS_DEBUG')) {
|
19 |
define('DISQUS_DEBUG', false);
|
20 |
}
|
21 |
-
define('DISQUS_VERSION', '2.
|
22 |
define('DISQUS_SYNC_TIMEOUT', 30);
|
23 |
|
24 |
/**
|
@@ -36,6 +36,7 @@ function dsq_options() {
|
|
36 |
'disqus_user_api_key',
|
37 |
'disqus_replace',
|
38 |
'disqus_cc_fix',
|
|
|
39 |
# SSO features
|
40 |
'disqus_partner_key',
|
41 |
'disqus_public_key',
|
@@ -274,6 +275,10 @@ function dsq_manage_dialog($message, $error = false) {
|
|
274 |
}
|
275 |
|
276 |
function dsq_sync_comments($comments) {
|
|
|
|
|
|
|
|
|
277 |
global $wpdb;
|
278 |
|
279 |
// user MUST be logged out during this process
|
@@ -287,11 +292,13 @@ function dsq_sync_comments($comments) {
|
|
287 |
|
288 |
$thread_ids = array_keys($thread_map);
|
289 |
|
|
|
|
|
290 |
// add as many placeholders as needed
|
291 |
$sql = "
|
292 |
SELECT post_id, meta_value
|
293 |
FROM $wpdb->postmeta
|
294 |
-
WHERE meta_key = 'dsq_thread_id' AND meta_value IN (".
|
295 |
";
|
296 |
|
297 |
// Call $wpdb->prepare passing the values of the array as separate arguments
|
@@ -688,12 +695,18 @@ function dsq_get_pending_post_ids() {
|
|
688 |
}
|
689 |
|
690 |
function dsq_clear_pending_post_ids($post_ids) {
|
|
|
|
|
|
|
|
|
691 |
global $wpdb;
|
692 |
|
|
|
|
|
693 |
// add as many placeholders as needed
|
694 |
$sql = "
|
695 |
DELETE FROM {$wpdb->postmeta}
|
696 |
-
WHERE meta_key = 'dsq_needs_sync' AND post_id IN (".
|
697 |
";
|
698 |
|
699 |
// Call $wpdb->prepare passing the values of the array as separate arguments
|
@@ -1161,54 +1174,46 @@ function dsq_add_query_posts($posts) {
|
|
1161 |
}
|
1162 |
}
|
1163 |
|
1164 |
-
// check to see if the posts in the loop match the original request or an explicit request, if so output the JS
|
1165 |
-
function dsq_loop_end($query) {
|
1166 |
-
if ( get_option('disqus_cc_fix') == '1' ||
|
1167 |
-
!count($query->posts) ||
|
1168 |
-
is_single() ||
|
1169 |
-
is_page() ||
|
1170 |
-
is_feed() ||
|
1171 |
-
!dsq_can_replace()
|
1172 |
-
) {
|
1173 |
-
return;
|
1174 |
-
}
|
1175 |
-
global $DSQ_QUERY_POST_IDS;
|
1176 |
-
foreach ($query->posts as $post) {
|
1177 |
-
$loop_ids[] = intval($post->ID);
|
1178 |
-
}
|
1179 |
-
$posts_key = md5(serialize($loop_ids));
|
1180 |
-
if (isset($DSQ_QUERY_POST_IDS[$posts_key])) {
|
1181 |
-
dsq_output_loop_comment_js($DSQ_QUERY_POST_IDS[$posts_key]);
|
1182 |
-
}
|
1183 |
-
}
|
1184 |
-
add_action('loop_end', 'dsq_loop_end');
|
1185 |
-
|
1186 |
-
// if someone has a better hack, let me know
|
1187 |
-
// prevents duplicate calls to count.js
|
1188 |
-
$_HAS_COUNTS = false;
|
1189 |
-
|
1190 |
function dsq_output_count_js() {
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
wp_register_script( 'dsq_count_script', plugins_url( '/media/js/count.js', __FILE__ ) );
|
1196 |
-
wp_localize_script( 'dsq_count_script', 'countVars', $count_vars );
|
1197 |
-
wp_enqueue_script( 'dsq_count_script', plugins_url( '/media/js/count.js', __FILE__ ) );
|
1198 |
-
}
|
1199 |
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1206 |
}
|
1207 |
}
|
1208 |
|
1209 |
function dsq_output_footer_comment_js() {
|
1210 |
if (!dsq_can_replace()) return;
|
1211 |
-
if (get_option('disqus_cc_fix') != '1') return;
|
1212 |
|
1213 |
dsq_output_count_js();
|
1214 |
}
|
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.82
|
8 |
Author URI: http://disqus.com/
|
9 |
*/
|
10 |
|
18 |
if (!defined('DISQUS_DEBUG')) {
|
19 |
define('DISQUS_DEBUG', false);
|
20 |
}
|
21 |
+
define('DISQUS_VERSION', '2.82');
|
22 |
define('DISQUS_SYNC_TIMEOUT', 30);
|
23 |
|
24 |
/**
|
36 |
'disqus_user_api_key',
|
37 |
'disqus_replace',
|
38 |
'disqus_cc_fix',
|
39 |
+
'dsq_external_js',
|
40 |
# SSO features
|
41 |
'disqus_partner_key',
|
42 |
'disqus_public_key',
|
275 |
}
|
276 |
|
277 |
function dsq_sync_comments($comments) {
|
278 |
+
if ( count($comments) < 1 ) {
|
279 |
+
return;
|
280 |
+
}
|
281 |
+
|
282 |
global $wpdb;
|
283 |
|
284 |
// user MUST be logged out during this process
|
292 |
|
293 |
$thread_ids = array_keys($thread_map);
|
294 |
|
295 |
+
$threads_query = implode(', ', array_fill(0, count($thread_ids), '%s'));
|
296 |
+
|
297 |
// add as many placeholders as needed
|
298 |
$sql = "
|
299 |
SELECT post_id, meta_value
|
300 |
FROM $wpdb->postmeta
|
301 |
+
WHERE meta_key = 'dsq_thread_id' AND meta_value IN (" . $threads_query . ")
|
302 |
";
|
303 |
|
304 |
// Call $wpdb->prepare passing the values of the array as separate arguments
|
695 |
}
|
696 |
|
697 |
function dsq_clear_pending_post_ids($post_ids) {
|
698 |
+
if ( count($post_ids) < 1 ) {
|
699 |
+
return;
|
700 |
+
}
|
701 |
+
|
702 |
global $wpdb;
|
703 |
|
704 |
+
$posts_query = implode(', ', array_fill(0, count($post_ids), '%s'));
|
705 |
+
|
706 |
// add as many placeholders as needed
|
707 |
$sql = "
|
708 |
DELETE FROM {$wpdb->postmeta}
|
709 |
+
WHERE meta_key = 'dsq_needs_sync' AND post_id IN (" . $posts_query . ")
|
710 |
";
|
711 |
|
712 |
// Call $wpdb->prepare passing the values of the array as separate arguments
|
1174 |
}
|
1175 |
}
|
1176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1177 |
function dsq_output_count_js() {
|
1178 |
+
if ( get_option('dsq_external_js') == '1' ) {
|
1179 |
+
$count_vars = array(
|
1180 |
+
'disqusShortname' => strtolower( get_option( 'disqus_forum_url' ) ),
|
1181 |
+
);
|
|
|
|
|
|
|
|
|
1182 |
|
1183 |
+
wp_register_script( 'dsq_count_script', plugins_url( '/media/js/count.js', __FILE__ ) );
|
1184 |
+
wp_localize_script( 'dsq_count_script', 'countVars', $count_vars );
|
1185 |
+
wp_enqueue_script( 'dsq_count_script', plugins_url( '/media/js/count.js', __FILE__ ) );
|
1186 |
+
}
|
1187 |
+
else {
|
1188 |
+
?>
|
1189 |
+
<script type="text/javascript">
|
1190 |
+
// <![CDATA[
|
1191 |
+
var disqus_shortname = '<?php echo strtolower( get_option('disqus_forum_url') ); ?>';
|
1192 |
+
(function () {
|
1193 |
+
var nodes = document.getElementsByTagName('span');
|
1194 |
+
for (var i = 0, url; i < nodes.length; i++) {
|
1195 |
+
if (nodes[i].className.indexOf('dsq-postid') != -1) {
|
1196 |
+
nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel'));
|
1197 |
+
url = nodes[i].parentNode.href.split('#', 1);
|
1198 |
+
if (url.length == 1) { url = url[0]; }
|
1199 |
+
else { url = url[1]; }
|
1200 |
+
nodes[i].parentNode.href = url + '#disqus_thread';
|
1201 |
+
}
|
1202 |
+
}
|
1203 |
+
var s = document.createElement('script');
|
1204 |
+
s.async = true;
|
1205 |
+
s.type = 'text/javascript';
|
1206 |
+
s.src = '//' + disqus_shortname + '.<?php echo DISQUS_DOMAIN; ?>/count.js';
|
1207 |
+
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
1208 |
+
}());
|
1209 |
+
// ]]>
|
1210 |
+
</script>
|
1211 |
+
<?php
|
1212 |
}
|
1213 |
}
|
1214 |
|
1215 |
function dsq_output_footer_comment_js() {
|
1216 |
if (!dsq_can_replace()) return;
|
|
|
1217 |
|
1218 |
dsq_output_count_js();
|
1219 |
}
|
locales/default.mo
CHANGED
Binary file
|
locales/default.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: disqus-wordpress\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2014-10
|
6 |
-
"PO-Revision-Date: 2014-10
|
7 |
"Last-Translator: Ryan <ryan@disqus.com>\n"
|
8 |
"Language-Team: Disqus <translation@disqus.com>\n"
|
9 |
"Language: en_US\n"
|
@@ -24,85 +24,85 @@ msgstr ""
|
|
24 |
msgid "Newer Comments"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: ../disqus/disqus.php:
|
28 |
msgid "Disqus needs to be configured"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: ../disqus/disqus.php:
|
32 |
msgid "Configure Disqus by clicking Comments to the left."
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: ../disqus/disqus.php:
|
36 |
msgid ""
|
37 |
"Unable to export comments. Make sure you are accessing this page from the "
|
38 |
"Wordpress dashboard."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: ../disqus/disqus.php:
|
42 |
msgid "Your comments have been sent to Disqus and queued for import!"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: ../disqus/disqus.php:
|
46 |
msgid "See the status of your import at Disqus"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: ../disqus/disqus.php:
|
50 |
msgid "Processed comments on post"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: ../disqus/disqus.php:
|
54 |
msgid "Sorry, something unexpected happened with the export. Please try again."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: ../disqus/disqus.php:
|
58 |
msgid ""
|
59 |
"If your API key has changed, you may need to reinstall Disqus (deactivate "
|
60 |
"the plugin and then reactivate it)."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../disqus/disqus.php:
|
64 |
#, php-format
|
65 |
msgid "If you are still having issues, refer to the %s WordPress help page"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: ../disqus/disqus.php:
|
69 |
msgid ""
|
70 |
"Unable to import comments. Make sure you are accessing this page from the "
|
71 |
"Wordpress dashboard."
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../disqus/disqus.php:
|
75 |
msgid "There was an error downloading your comments from Disqus."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../disqus/disqus.php:
|
79 |
msgid ""
|
80 |
"Your comments have been downloaded from Disqus and saved in your local "
|
81 |
"database."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: ../disqus/disqus.php:
|
85 |
#, php-format
|
86 |
msgid "Import in progress (last post id: %s)"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: ../disqus/disqus.php:
|
90 |
msgid "Pingback:"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: ../disqus/disqus.php:
|
94 |
msgid "Edit"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: ../disqus/disqus.php:
|
98 |
msgid "Configure"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: ../disqus/disqus.php:
|
102 |
msgid "Settings"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: ../disqus/disqus.php:
|
106 |
msgid ""
|
107 |
"Sorry, the built-in commenting system is disabled because Disqus is active."
|
108 |
msgstr ""
|
@@ -131,199 +131,216 @@ msgstr ""
|
|
131 |
msgid "Reinstall"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: ../disqus/manage.php:
|
135 |
msgid "Your settings have been changed."
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: ../disqus/manage.php:
|
139 |
msgid "There was an error completing the installation of Disqus."
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: ../disqus/manage.php:
|
143 |
msgid "If you are still having issues, refer to the help documentation."
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: ../disqus/manage.php:
|
147 |
msgid "WordPress Help Page"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: ../disqus/manage.php:
|
151 |
msgid ""
|
152 |
"There aren't any sites associated with this account. Maybe you want to "
|
153 |
"create a site?"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: ../disqus/manage.php:
|
157 |
msgid "Create a site"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: ../disqus/manage.php:
|
161 |
msgid "Moderate"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../disqus/manage.php:
|
165 |
msgid "Install"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: ../disqus/manage.php:
|
169 |
msgid "Plugin Settings"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../disqus/manage.php:
|
173 |
msgid "Install Disqus Comments"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: ../disqus/manage.php:
|
177 |
msgid "Disqus has been installed on your blog."
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../disqus/manage.php:
|
181 |
msgid "If you have existing comments, you may wish to export them now."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: ../disqus/manage.php:
|
185 |
msgid ""
|
186 |
"Otherwise, you're all set, and the Disqus network is now powering comments "
|
187 |
"on your site."
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: ../disqus/manage.php:
|
191 |
msgid "Continue to the moderation dashboard"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: ../disqus/manage.php:
|
195 |
msgid "Select a website"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: ../disqus/manage.php:
|
199 |
msgid "Or register a new one on the Disqus website."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../disqus/manage.php:
|
203 |
msgid "Username or email"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: ../disqus/manage.php:
|
207 |
msgid "don't have a Disqus Profile yet?"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: ../disqus/manage.php:
|
211 |
msgid "Password"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../disqus/manage.php:
|
215 |
msgid "forgot your password?"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: ../disqus/manage.php:
|
219 |
msgid "Go to Disqus Moderation"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: ../disqus/manage.php:
|
223 |
#, php-format
|
224 |
msgid "Version: %s"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: ../disqus/manage.php:
|
228 |
msgid "Disqus comments are currently "
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: ../disqus/manage.php:
|
232 |
msgid "Disable"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: ../disqus/manage.php:
|
236 |
msgid "Enable"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: ../disqus/manage.php:
|
240 |
msgid "General"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: ../disqus/manage.php:
|
244 |
msgid "Forum Shortname"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: ../disqus/manage.php:
|
248 |
msgid ""
|
249 |
"This is the unique identifier for your website in Disqus, automatically set "
|
250 |
"during installation."
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: ../disqus/manage.php:
|
254 |
msgid "Appearance"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: ../disqus/manage.php:
|
258 |
msgid "Use Disqus Comments on"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: ../disqus/manage.php:
|
262 |
msgid "All blog posts."
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: ../disqus/manage.php:
|
266 |
msgid "Blog posts with closed comments only."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: ../disqus/manage.php:
|
270 |
msgid ""
|
271 |
"You have selected to only enable Disqus on posts with closed comments. If "
|
272 |
"you aren't seeing Disqus on new posts, change this option to \"All blog posts"
|
273 |
"\"."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: ../disqus/manage.php:
|
277 |
msgid ""
|
278 |
"Shows comments on either all blog posts, or ones with closed comments. "
|
279 |
"Select the \"Blog posts with closed comments only\" option if you plan on "
|
280 |
"disabling Disqus, but want to keep it on posts which already have comments."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: ../disqus/manage.php:
|
284 |
msgid "Sync"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: ../disqus/manage.php:
|
288 |
msgid "Comment Importing"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: ../disqus/manage.php:
|
292 |
msgid "Disable automated comment importing"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: ../disqus/manage.php:
|
296 |
msgid ""
|
297 |
"If you have problems with WP-Cron taking too long, or have a large number of "
|
298 |
"comments, you may wish to disable automated sync. Comments will only be "
|
299 |
"imported to your local Wordpress database if you do so manually."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: ../disqus/manage.php:
|
303 |
msgid "Server-Side Rendering"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: ../disqus/manage.php:
|
307 |
msgid "Disable server-side rendering of comments"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: ../disqus/manage.php:
|
311 |
msgid "Hides comments from nearly all search engines."
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: ../disqus/manage.php:
|
315 |
msgid "Patches"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: ../disqus/manage.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
msgid "Template Conflicts"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: ../disqus/manage.php:
|
323 |
msgid "Output JavaScript in footer"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: ../disqus/manage.php:
|
327 |
msgid ""
|
328 |
"Enable this if you have problems with comment counts or other "
|
329 |
"irregularities. For example: missing counts, counts always at 0, Disqus code "
|
@@ -331,136 +348,136 @@ msgid ""
|
|
331 |
"load times"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: ../disqus/manage.php:
|
335 |
msgid "Advanced"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: ../disqus/manage.php:
|
339 |
msgid "Single Sign-On"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: ../disqus/manage.php:
|
343 |
msgid "Allows users to log in to Disqus via WordPress."
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: ../disqus/manage.php:
|
347 |
msgid "More info on SSO"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: ../disqus/manage.php:
|
351 |
msgid "Disqus Partner Key"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: ../disqus/manage.php:
|
355 |
msgid "API Application Public Key"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: ../disqus/manage.php:
|
359 |
msgid "Disqus API Applications"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: ../disqus/manage.php:
|
363 |
msgid "API Application Secret Key"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: ../disqus/manage.php:
|
367 |
msgid "Custom Log-in Button"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: ../disqus/manage.php:
|
371 |
msgid "Change"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: ../disqus/manage.php:
|
375 |
msgid "Choose"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: ../disqus/manage.php:
|
379 |
msgid "button"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: ../disqus/manage.php:
|
383 |
msgid "Adds a button to the Disqus log-in interface."
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: ../disqus/manage.php:
|
387 |
msgid "Example screenshot"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: ../disqus/manage.php:
|
391 |
msgid "See our documentation for a template to create your own button."
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: ../disqus/manage.php:
|
395 |
msgid "SSO button documentation"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: ../disqus/manage.php:
|
399 |
msgid "Export comments to Disqus"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: ../disqus/manage.php:
|
403 |
msgid "Export Comments"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: ../disqus/manage.php:
|
407 |
msgid "This will export your existing WordPress comments to Disqus"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: ../disqus/manage.php:
|
411 |
msgid "Sync Disqus with WordPress"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: ../disqus/manage.php:
|
415 |
msgid "Sync Comments"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: ../disqus/manage.php:
|
419 |
msgid ""
|
420 |
"This will download your Disqus comments and store them locally in WordPress"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: ../disqus/manage.php:
|
424 |
msgid "Remove all imported Disqus comments before syncing."
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: ../disqus/manage.php:
|
428 |
msgid "Reset Disqus"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: ../disqus/manage.php:
|
432 |
msgid "Are you sure you want to reset the Disqus plugin?"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: ../disqus/manage.php:
|
436 |
msgid ""
|
437 |
"This removes all Disqus-specific settings. Comments will remain unaffected."
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: ../disqus/manage.php:
|
441 |
msgid ""
|
442 |
"If you have problems with resetting taking too long you may wish to first "
|
443 |
"manually drop the 'disqus_dupecheck' index from your 'commentmeta' table."
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../disqus/manage.php:
|
447 |
msgid "Debug Information"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: ../disqus/manage.php:
|
451 |
msgid ""
|
452 |
"Having problems with the plugin? Check out our troubleshooting documentation."
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: ../disqus/manage.php:
|
456 |
msgid "WordPress troubleshooting ocumentation"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: ../disqus/manage.php:
|
460 |
msgid "You can also email us and include the debug info below."
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: ../disqus/manage.php:
|
464 |
msgid "Contact support"
|
465 |
msgstr ""
|
466 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: disqus-wordpress\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-11-10 11:06-0800\n"
|
6 |
+
"PO-Revision-Date: 2014-11-10 11:07-0800\n"
|
7 |
"Last-Translator: Ryan <ryan@disqus.com>\n"
|
8 |
"Language-Team: Disqus <translation@disqus.com>\n"
|
9 |
"Language: en_US\n"
|
24 |
msgid "Newer Comments"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: ../disqus/disqus.php:178
|
28 |
msgid "Disqus needs to be configured"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: ../disqus/disqus.php:179
|
32 |
msgid "Configure Disqus by clicking Comments to the left."
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: ../disqus/disqus.php:527
|
36 |
msgid ""
|
37 |
"Unable to export comments. Make sure you are accessing this page from the "
|
38 |
"Wordpress dashboard."
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: ../disqus/disqus.php:558 ../disqus/disqus.php:584
|
42 |
msgid "Your comments have been sent to Disqus and queued for import!"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: ../disqus/disqus.php:560 ../disqus/disqus.php:586
|
46 |
msgid "See the status of your import at Disqus"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: ../disqus/disqus.php:564
|
50 |
msgid "Processed comments on post"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: ../disqus/disqus.php:574
|
54 |
msgid "Sorry, something unexpected happened with the export. Please try again."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: ../disqus/disqus.php:576
|
58 |
msgid ""
|
59 |
"If your API key has changed, you may need to reinstall Disqus (deactivate "
|
60 |
"the plugin and then reactivate it)."
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../disqus/disqus.php:577
|
64 |
#, php-format
|
65 |
msgid "If you are still having issues, refer to the %s WordPress help page"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: ../disqus/disqus.php:608
|
69 |
msgid ""
|
70 |
"Unable to import comments. Make sure you are accessing this page from the "
|
71 |
"Wordpress dashboard."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: ../disqus/disqus.php:631
|
75 |
msgid "There was an error downloading your comments from Disqus."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: ../disqus/disqus.php:636
|
79 |
msgid ""
|
80 |
"Your comments have been downloaded from Disqus and saved in your local "
|
81 |
"database."
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: ../disqus/disqus.php:639
|
85 |
#, php-format
|
86 |
msgid "Import in progress (last post id: %s)"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../disqus/disqus.php:989
|
90 |
msgid "Pingback:"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../disqus/disqus.php:989
|
94 |
msgid "Edit"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../disqus/disqus.php:1026
|
98 |
msgid "Configure"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: ../disqus/disqus.php:1028 ../disqus/manage.php:394
|
102 |
msgid "Settings"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../disqus/disqus.php:1492
|
106 |
msgid ""
|
107 |
"Sorry, the built-in commenting system is disabled because Disqus is active."
|
108 |
msgstr ""
|
131 |
msgid "Reinstall"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: ../disqus/manage.php:189
|
135 |
msgid "Your settings have been changed."
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: ../disqus/manage.php:220
|
139 |
msgid "There was an error completing the installation of Disqus."
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: ../disqus/manage.php:222
|
143 |
msgid "If you are still having issues, refer to the help documentation."
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: ../disqus/manage.php:225
|
147 |
msgid "WordPress Help Page"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: ../disqus/manage.php:258
|
151 |
msgid ""
|
152 |
"There aren't any sites associated with this account. Maybe you want to "
|
153 |
"create a site?"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../disqus/manage.php:261
|
157 |
msgid "Create a site"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: ../disqus/manage.php:274
|
161 |
msgid "Moderate"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: ../disqus/manage.php:274
|
165 |
msgid "Install"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: ../disqus/manage.php:277
|
169 |
msgid "Plugin Settings"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: ../disqus/manage.php:287 ../disqus/manage.php:301 ../disqus/manage.php:335
|
173 |
msgid "Install Disqus Comments"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: ../disqus/manage.php:289
|
177 |
msgid "Disqus has been installed on your blog."
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: ../disqus/manage.php:291
|
181 |
msgid "If you have existing comments, you may wish to export them now."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../disqus/manage.php:292
|
185 |
msgid ""
|
186 |
"Otherwise, you're all set, and the Disqus network is now powering comments "
|
187 |
"on your site."
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: ../disqus/manage.php:294
|
191 |
msgid "Continue to the moderation dashboard"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../disqus/manage.php:307
|
195 |
msgid "Select a website"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../disqus/manage.php:319
|
199 |
msgid "Or register a new one on the Disqus website."
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: ../disqus/manage.php:341
|
203 |
msgid "Username or email"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: ../disqus/manage.php:344
|
207 |
msgid "don't have a Disqus Profile yet?"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: ../disqus/manage.php:348
|
211 |
msgid "Password"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: ../disqus/manage.php:351
|
215 |
msgid "forgot your password?"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: ../disqus/manage.php:371
|
219 |
msgid "Go to Disqus Moderation"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: ../disqus/manage.php:395
|
223 |
#, php-format
|
224 |
msgid "Version: %s"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: ../disqus/manage.php:401
|
228 |
msgid "Disqus comments are currently "
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: ../disqus/manage.php:404
|
232 |
msgid "Disable"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: ../disqus/manage.php:404
|
236 |
msgid "Enable"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: ../disqus/manage.php:413
|
240 |
msgid "General"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: ../disqus/manage.php:416
|
244 |
msgid "Forum Shortname"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: ../disqus/manage.php:421
|
248 |
msgid ""
|
249 |
"This is the unique identifier for your website in Disqus, automatically set "
|
250 |
"during installation."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: ../disqus/manage.php:426
|
254 |
msgid "Appearance"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: ../disqus/manage.php:429
|
258 |
msgid "Use Disqus Comments on"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: ../disqus/manage.php:432
|
262 |
msgid "All blog posts."
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: ../disqus/manage.php:433
|
266 |
msgid "Blog posts with closed comments only."
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: ../disqus/manage.php:437
|
270 |
msgid ""
|
271 |
"You have selected to only enable Disqus on posts with closed comments. If "
|
272 |
"you aren't seeing Disqus on new posts, change this option to \"All blog posts"
|
273 |
"\"."
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: ../disqus/manage.php:438
|
277 |
msgid ""
|
278 |
"Shows comments on either all blog posts, or ones with closed comments. "
|
279 |
"Select the \"Blog posts with closed comments only\" option if you plan on "
|
280 |
"disabling Disqus, but want to keep it on posts which already have comments."
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../disqus/manage.php:444
|
284 |
msgid "Sync"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../disqus/manage.php:447
|
288 |
msgid "Comment Importing"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: ../disqus/manage.php:450
|
292 |
msgid "Disable automated comment importing"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: ../disqus/manage.php:451
|
296 |
msgid ""
|
297 |
"If you have problems with WP-Cron taking too long, or have a large number of "
|
298 |
"comments, you may wish to disable automated sync. Comments will only be "
|
299 |
"imported to your local Wordpress database if you do so manually."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../disqus/manage.php:455
|
303 |
msgid "Server-Side Rendering"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: ../disqus/manage.php:458
|
307 |
msgid "Disable server-side rendering of comments"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: ../disqus/manage.php:459
|
311 |
msgid "Hides comments from nearly all search engines."
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: ../disqus/manage.php:464
|
315 |
msgid "Patches"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: ../disqus/manage.php:468
|
319 |
+
msgid "External Javascript Files"
|
320 |
+
msgstr ""
|
321 |
+
|
322 |
+
#: ../disqus/manage.php:471
|
323 |
+
msgid "Render Javascript in external files"
|
324 |
+
msgstr ""
|
325 |
+
|
326 |
+
#: ../disqus/manage.php:472
|
327 |
+
msgid ""
|
328 |
+
"This will render the Disqus scripts as external files in the footer as "
|
329 |
+
"recommended by Wordpress. Disable this if are not seeing Disqus appear on "
|
330 |
+
"pages that normally have comments. This will fix the issue if your theme "
|
331 |
+
"does not support the 'wp_enqueue_script' function, are caching your site on "
|
332 |
+
"a CDN."
|
333 |
+
msgstr ""
|
334 |
+
|
335 |
+
#: ../disqus/manage.php:477
|
336 |
msgid "Template Conflicts"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: ../disqus/manage.php:480
|
340 |
msgid "Output JavaScript in footer"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: ../disqus/manage.php:481
|
344 |
msgid ""
|
345 |
"Enable this if you have problems with comment counts or other "
|
346 |
"irregularities. For example: missing counts, counts always at 0, Disqus code "
|
348 |
"load times"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: ../disqus/manage.php:487
|
352 |
msgid "Advanced"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: ../disqus/manage.php:488
|
356 |
msgid "Single Sign-On"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: ../disqus/manage.php:490
|
360 |
msgid "Allows users to log in to Disqus via WordPress."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: ../disqus/manage.php:492
|
364 |
msgid "More info on SSO"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: ../disqus/manage.php:499
|
368 |
msgid "Disqus Partner Key"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: ../disqus/manage.php:506
|
372 |
msgid "API Application Public Key"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: ../disqus/manage.php:510 ../disqus/manage.php:518
|
376 |
msgid "Disqus API Applications"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: ../disqus/manage.php:514
|
380 |
msgid "API Application Secret Key"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: ../disqus/manage.php:522
|
384 |
msgid "Custom Log-in Button"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: ../disqus/manage.php:536
|
388 |
msgid "Change"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: ../disqus/manage.php:536
|
392 |
msgid "Choose"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: ../disqus/manage.php:536
|
396 |
msgid "button"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: ../disqus/manage.php:542
|
400 |
msgid "Adds a button to the Disqus log-in interface."
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: ../disqus/manage.php:543
|
404 |
msgid "Example screenshot"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: ../disqus/manage.php:545
|
408 |
msgid "See our documentation for a template to create your own button."
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: ../disqus/manage.php:546
|
412 |
msgid "SSO button documentation"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: ../disqus/manage.php:564
|
416 |
msgid "Export comments to Disqus"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: ../disqus/manage.php:570
|
420 |
msgid "Export Comments"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: ../disqus/manage.php:571
|
424 |
msgid "This will export your existing WordPress comments to Disqus"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: ../disqus/manage.php:579
|
428 |
msgid "Sync Disqus with WordPress"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../disqus/manage.php:586
|
432 |
msgid "Sync Comments"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../disqus/manage.php:587
|
436 |
msgid ""
|
437 |
"This will download your Disqus comments and store them locally in WordPress"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../disqus/manage.php:591
|
441 |
msgid "Remove all imported Disqus comments before syncing."
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../disqus/manage.php:605
|
445 |
msgid "Reset Disqus"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: ../disqus/manage.php:610
|
449 |
msgid "Are you sure you want to reset the Disqus plugin?"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: ../disqus/manage.php:611
|
453 |
msgid ""
|
454 |
"This removes all Disqus-specific settings. Comments will remain unaffected."
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: ../disqus/manage.php:613
|
458 |
msgid ""
|
459 |
"If you have problems with resetting taking too long you may wish to first "
|
460 |
"manually drop the 'disqus_dupecheck' index from your 'commentmeta' table."
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: ../disqus/manage.php:620
|
464 |
msgid "Debug Information"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../disqus/manage.php:622
|
468 |
msgid ""
|
469 |
"Having problems with the plugin? Check out our troubleshooting documentation."
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: ../disqus/manage.php:623
|
473 |
msgid "WordPress troubleshooting ocumentation"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: ../disqus/manage.php:624
|
477 |
msgid "You can also email us and include the debug info below."
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: ../disqus/manage.php:625
|
481 |
msgid "Contact support"
|
482 |
msgstr ""
|
483 |
|
manage.php
CHANGED
@@ -167,6 +167,7 @@ if ( isset($_POST['disqus_forum_url']) && isset($_POST['disqus_replace']) ) {
|
|
167 |
update_option('disqus_partner_key', isset($_POST['disqus_partner_key']) ? esc_attr( trim(stripslashes($_POST['disqus_partner_key'])) ) : '');
|
168 |
update_option('disqus_replace', isset($_POST['disqus_replace']) ? esc_attr( $_POST['disqus_replace'] ) : 'all');
|
169 |
update_option('disqus_cc_fix', isset($_POST['disqus_cc_fix']));
|
|
|
170 |
update_option('disqus_manual_sync', isset($_POST['disqus_manual_sync']));
|
171 |
update_option('disqus_disable_ssr', isset($_POST['disqus_disable_ssr']));
|
172 |
update_option('disqus_public_key', isset($_POST['disqus_public_key']) ? esc_attr( $_POST['disqus_public_key'] ) : '');
|
@@ -205,7 +206,13 @@ $step = (dsq_is_installed()) ? 0 : ($step ? $step : 1);
|
|
205 |
if ( 3 == $step && isset($_POST['dsq_forum']) && isset($_POST['dsq_user_api_key']) ) {
|
206 |
list($dsq_forum_id, $dsq_forum_url) = explode(':', $_POST['dsq_forum']);
|
207 |
update_option('disqus_forum_url', esc_attr( $dsq_forum_url ) );
|
|
|
|
|
|
|
|
|
|
|
208 |
update_option('disqus_cc_fix', '1');
|
|
|
209 |
$api_key = $dsq_api->get_forum_api_key($_POST['dsq_user_api_key'], $dsq_forum_id);
|
210 |
if ( !$api_key || $api_key < 0 ) {
|
211 |
update_option('disqus_replace', 'replace');
|
@@ -373,6 +380,7 @@ case 0:
|
|
373 |
$dsq_user_api_key = get_option('disqus_user_api_key');
|
374 |
$dsq_partner_key = get_option('disqus_partner_key');
|
375 |
$dsq_cc_fix = get_option('disqus_cc_fix');
|
|
|
376 |
$dsq_manual_sync = get_option('disqus_manual_sync');
|
377 |
$dsq_disable_ssr = get_option('disqus_disable_ssr');
|
378 |
$dsq_public_key = get_option('disqus_public_key');
|
@@ -456,10 +464,19 @@ case 0:
|
|
456 |
<th scope="row" valign="top"><?php echo '<h3>' . dsq_i('Patches') . '</h3>'; ?></th>
|
457 |
</tr>
|
458 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
<tr>
|
460 |
<th scope="row" valign="top"><?php echo dsq_i('Template Conflicts'); ?></th>
|
461 |
<td>
|
462 |
-
<input type="checkbox" id="disqus_comment_count" name="disqus_cc_fix" <?php if($dsq_cc_fix == '1'){ echo 'checked="checked"'; } ?> >
|
463 |
<label for="disqus_comment_count"><?php echo dsq_i('Output JavaScript in footer'); ?></label>
|
464 |
<br /><?php echo dsq_i('Enable this if you have problems with comment counts or other irregularities. For example: missing counts, counts always at 0, Disqus code showing on the page, broken image carousels, or longer-than-usual home page load times'); ?>
|
465 |
</td>
|
167 |
update_option('disqus_partner_key', isset($_POST['disqus_partner_key']) ? esc_attr( trim(stripslashes($_POST['disqus_partner_key'])) ) : '');
|
168 |
update_option('disqus_replace', isset($_POST['disqus_replace']) ? esc_attr( $_POST['disqus_replace'] ) : 'all');
|
169 |
update_option('disqus_cc_fix', isset($_POST['disqus_cc_fix']));
|
170 |
+
update_option('dsq_external_js', isset($_POST['dsq_external_js']) ? '1' : '0');
|
171 |
update_option('disqus_manual_sync', isset($_POST['disqus_manual_sync']));
|
172 |
update_option('disqus_disable_ssr', isset($_POST['disqus_disable_ssr']));
|
173 |
update_option('disqus_public_key', isset($_POST['disqus_public_key']) ? esc_attr( $_POST['disqus_public_key'] ) : '');
|
206 |
if ( 3 == $step && isset($_POST['dsq_forum']) && isset($_POST['dsq_user_api_key']) ) {
|
207 |
list($dsq_forum_id, $dsq_forum_url) = explode(':', $_POST['dsq_forum']);
|
208 |
update_option('disqus_forum_url', esc_attr( $dsq_forum_url ) );
|
209 |
+
|
210 |
+
// Output javascript in external files by default
|
211 |
+
update_option('dsq_external_js', '1');
|
212 |
+
|
213 |
+
// Output Javascript in footer by default (no effect when dsq_external_js is enabld)
|
214 |
update_option('disqus_cc_fix', '1');
|
215 |
+
|
216 |
$api_key = $dsq_api->get_forum_api_key($_POST['dsq_user_api_key'], $dsq_forum_id);
|
217 |
if ( !$api_key || $api_key < 0 ) {
|
218 |
update_option('disqus_replace', 'replace');
|
380 |
$dsq_user_api_key = get_option('disqus_user_api_key');
|
381 |
$dsq_partner_key = get_option('disqus_partner_key');
|
382 |
$dsq_cc_fix = get_option('disqus_cc_fix');
|
383 |
+
$dsq_external_js = get_option('dsq_external_js');
|
384 |
$dsq_manual_sync = get_option('disqus_manual_sync');
|
385 |
$dsq_disable_ssr = get_option('disqus_disable_ssr');
|
386 |
$dsq_public_key = get_option('disqus_public_key');
|
464 |
<th scope="row" valign="top"><?php echo '<h3>' . dsq_i('Patches') . '</h3>'; ?></th>
|
465 |
</tr>
|
466 |
|
467 |
+
<tr>
|
468 |
+
<th scope="row" valign="top"><?php echo dsq_i('External Javascript Files'); ?></th>
|
469 |
+
<td>
|
470 |
+
<input type="checkbox" id="disqus_external_javascript" name="dsq_external_js" <?php if($dsq_external_js == '1'){ echo 'checked="checked"'; } ?> >
|
471 |
+
<label for="disqus_external_javascript"><?php echo dsq_i('Render Javascript in external files'); ?></label>
|
472 |
+
<br /><?php echo dsq_i('This will render the Disqus scripts as external files in the footer as recommended by Wordpress. Disable this if are not seeing Disqus appear on pages that normally have comments. This will fix the issue if your theme does not support the \'wp_enqueue_script\' function, are caching your site on a CDN.'); ?>
|
473 |
+
</td>
|
474 |
+
</tr>
|
475 |
+
|
476 |
<tr>
|
477 |
<th scope="row" valign="top"><?php echo dsq_i('Template Conflicts'); ?></th>
|
478 |
<td>
|
479 |
+
<input type="checkbox" id="disqus_comment_count" name="disqus_cc_fix" <?php if($dsq_external_js == '1'){ echo 'disabled '; } if($dsq_cc_fix == '1' || $dsq_external_js == '1'){ echo 'checked="checked"'; } ?> >
|
480 |
<label for="disqus_comment_count"><?php echo dsq_i('Output JavaScript in footer'); ?></label>
|
481 |
<br /><?php echo dsq_i('Enable this if you have problems with comment counts or other irregularities. For example: missing counts, counts always at 0, Disqus code showing on the page, broken image carousels, or longer-than-usual home page load times'); ?>
|
482 |
</td>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: disqus, alexkingorg, crowdfavorite, zeeg, tail, thetylerhayes
|
|
3 |
Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget, disqus
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.0
|
6 |
-
Stable tag: 2.
|
7 |
|
8 |
The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
|
9 |
|
@@ -60,6 +60,11 @@ Go to [http://disqus.com/help/wordpress](http://disqus.com/help/wordpress)
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
|
|
|
|
63 |
= 2.81 =
|
64 |
|
65 |
* Fix for automatic comment syncing
|
3 |
Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget, disqus
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.0
|
6 |
+
Stable tag: 2.82
|
7 |
|
8 |
The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.
|
9 |
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
+
= 2.82 =
|
64 |
+
|
65 |
+
* Fix PHP errors when there are no comments to sync
|
66 |
+
* Adds a new option to render Disqus javascript directly in page markup
|
67 |
+
|
68 |
= 2.81 =
|
69 |
|
70 |
* Fix for automatic comment syncing
|