Subscribe to Comments - Version 2.0

Version Description

Download this release

Release Info

Developer markjaquith
Plugin Icon wp plugin Subscribe to Comments
Version 2.0
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0

subscribe-to-comments.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Subscribe To Comments
4
- Version: 2.0.1
5
  Plugin URI: http://txfx.net/search/subscribe%20to%20comments%202
6
  Description: Allows readers to recieve notifications of new comments that are posted to an entry
7
  Author: Mark Jaquith and Jennifer (ScriptyGoddess)
@@ -784,7 +784,7 @@ class sg_subscribe
784
  // Substitute the substring matches into the query.
785
  eval("\$query = \"$query\";");
786
  $query = new WP_Query($query);
787
- if ( $query->is_single || $query->is_page )
788
  return $query->post->ID;
789
  else
790
  return 0;
1
  <?php
2
  /*
3
  Plugin Name: Subscribe To Comments
4
+ Version: 2.0-beta-2
5
  Plugin URI: http://txfx.net/search/subscribe%20to%20comments%202
6
  Description: Allows readers to recieve notifications of new comments that are posted to an entry
7
  Author: Mark Jaquith and Jennifer (ScriptyGoddess)
784
  // Substitute the substring matches into the query.
785
  eval("\$query = \"$query\";");
786
  $query = new WP_Query($query);
787
+ if ( $query->is_post || $query->is_page )
788
  return $query->post->ID;
789
  else
790
  return 0;
subscribe-to-comments.pot CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Subscribe to Comments 2.0\n"
4
  "POT-Creation-Date: \n"
5
- "PO-Revision-Date: 2005-07-11 18:42-0500\n"
6
  "Last-Translator: Mark Jaquith <mark.i18n@txfx.net>\n"
7
- "Language-Team: Mark Jaquith <mark.wordpress@txfx.net>\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -196,17 +196,17 @@ msgstr ""
196
  msgid "You are the author of this entry. <a href=\"[manager_link]\">Manage subscriptions</a>."
197
  msgstr ""
198
 
199
- # c:\stc/subscribe-to-comments.php:813
200
- # c:\stc/wp-subscription-manager.php:119
201
  msgid "Comment Subscription Manager"
202
  msgstr ""
203
 
204
- # c:\stc/subscribe-to-comments.php:813
205
- # c:\stc/wp-subscription-manager.php:220
206
  msgid "Subscriptions"
207
  msgstr ""
208
 
209
- # c:\stc/subscribe-to-comments.php:818
210
  msgid "Subscribe to Comments"
211
  msgstr ""
212
 
@@ -281,99 +281,99 @@ msgstr ""
281
  msgid "%s Comment Subscription Manager"
282
  msgstr ""
283
 
284
- # c:\stc/wp-subscription-manager.php:122
285
  #, php-format
286
  msgid "Return to the page you were viewing: %s"
287
  msgstr ""
288
 
289
- # c:\stc/wp-subscription-manager.php:133
290
  msgid "Remove Block"
291
  msgstr ""
292
 
293
- # c:\stc/wp-subscription-manager.php:136
294
  #, php-format
295
  msgid "Click the button below to remove the block on <strong>%s</strong>. This should only be done if the user has specifically requested it."
296
  msgstr ""
297
 
298
- # c:\stc/wp-subscription-manager.php:144
299
  msgid "Remove Block &raquo;"
300
  msgstr ""
301
 
302
- # c:\stc/wp-subscription-manager.php:152
303
  msgid "Blocked"
304
  msgstr ""
305
 
306
- # c:\stc/wp-subscription-manager.php:155
307
  #, php-format
308
  msgid "You have indicated that you do not wish to receive any notifications at <strong>%s</strong> from this site. If this is incorrect, or if you wish to have the block removed, please contact the <a href=\"mailto:%s\">site administrator</a>."
309
  msgstr ""
310
 
311
- # c:\stc/wp-subscription-manager.php:169
312
  #, php-format
313
  msgid "<strong>%s</strong> is not subscribed to any posts on this site."
314
  msgstr ""
315
 
316
- # c:\stc/wp-subscription-manager.php:171
317
  #, php-format
318
  msgid "<strong>%s</strong> is not a valid e-mail address."
319
  msgstr ""
320
 
321
- # c:\stc/wp-subscription-manager.php:183
322
  msgid "Find Subscriptions"
323
  msgstr ""
324
 
325
- # c:\stc/wp-subscription-manager.php:186
326
  msgid "Enter an e-mail address to view its subscriptions or undo a block."
327
  msgstr ""
328
 
329
- # c:\stc/wp-subscription-manager.php:194
330
  msgid "Search &raquo;"
331
  msgstr ""
332
 
333
- # c:\stc/wp-subscription-manager.php:223
334
  #, php-format
335
  msgid "<strong>%s</strong> is subscribed to the posts listed below. To unsubscribe to one or more posts, click the checkbox next to the title, then click \"Remove Selected Subscription(s)\" at the bottom of the list."
336
  msgstr ""
337
 
338
- # c:\stc/wp-subscription-manager.php:237
339
  msgid "Invert Checkbox Selection"
340
  msgstr ""
341
 
342
- # c:\stc/wp-subscription-manager.php:241
343
  msgid "Remove Selected Subscription(s) &raquo;"
344
  msgstr ""
345
 
346
- # c:\stc/wp-subscription-manager.php:248
347
  msgid "Advanced Options"
348
  msgstr ""
349
 
350
- # c:\stc/wp-subscription-manager.php:251
351
  msgid "Block All Notifications"
352
  msgstr ""
353
 
354
- # c:\stc/wp-subscription-manager.php:258
355
  #, php-format
356
  msgid "If you would like <strong>%s</strong> to be blocked from receiving any notifications from this site, click the button below. This should be reserved for cases where someone is signing you up for notifications without your consent."
357
  msgstr ""
358
 
359
- # c:\stc/wp-subscription-manager.php:262
360
  msgid "Block Notifications &raquo;"
361
  msgstr ""
362
 
363
- # c:\stc/wp-subscription-manager.php:268
364
  msgid "Change E-mail Address"
365
  msgstr ""
366
 
367
- # c:\stc/wp-subscription-manager.php:275
368
  #, php-format
369
  msgid "If you would like to change the e-mail address for your subscriptions, enter the new address below. You will be required to verify this request by clicking a special link sent to your current address (<strong>%s</strong>)."
370
  msgstr ""
371
 
372
- # c:\stc/wp-subscription-manager.php:279
373
  msgid "New E-mail Address:"
374
  msgstr ""
375
 
376
- # c:\stc/wp-subscription-manager.php:284
377
  msgid "Change E-mail Address &raquo;"
378
  msgstr ""
379
 
2
  msgstr ""
3
  "Project-Id-Version: Subscribe to Comments 2.0\n"
4
  "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2005-06-12 02:47-0500\n"
6
  "Last-Translator: Mark Jaquith <mark.i18n@txfx.net>\n"
7
+ "Language-Team: Mark Jaquith\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
196
  msgid "You are the author of this entry. <a href=\"[manager_link]\">Manage subscriptions</a>."
197
  msgstr ""
198
 
199
+ # c:\stc/subscribe-to-comments.php:723
200
+ # c:\stc/wp-subscription-manager.php:116
201
  msgid "Comment Subscription Manager"
202
  msgstr ""
203
 
204
+ # c:\stc/subscribe-to-comments.php:723
205
+ # c:\stc/wp-subscription-manager.php:217
206
  msgid "Subscriptions"
207
  msgstr ""
208
 
209
+ # c:\stc/subscribe-to-comments.php:728
210
  msgid "Subscribe to Comments"
211
  msgstr ""
212
 
281
  msgid "%s Comment Subscription Manager"
282
  msgstr ""
283
 
284
+ # c:\stc/wp-subscription-manager.php:119
285
  #, php-format
286
  msgid "Return to the page you were viewing: %s"
287
  msgstr ""
288
 
289
+ # c:\stc/wp-subscription-manager.php:130
290
  msgid "Remove Block"
291
  msgstr ""
292
 
293
+ # c:\stc/wp-subscription-manager.php:133
294
  #, php-format
295
  msgid "Click the button below to remove the block on <strong>%s</strong>. This should only be done if the user has specifically requested it."
296
  msgstr ""
297
 
298
+ # c:\stc/wp-subscription-manager.php:141
299
  msgid "Remove Block &raquo;"
300
  msgstr ""
301
 
302
+ # c:\stc/wp-subscription-manager.php:149
303
  msgid "Blocked"
304
  msgstr ""
305
 
306
+ # c:\stc/wp-subscription-manager.php:152
307
  #, php-format
308
  msgid "You have indicated that you do not wish to receive any notifications at <strong>%s</strong> from this site. If this is incorrect, or if you wish to have the block removed, please contact the <a href=\"mailto:%s\">site administrator</a>."
309
  msgstr ""
310
 
311
+ # c:\stc/wp-subscription-manager.php:166
312
  #, php-format
313
  msgid "<strong>%s</strong> is not subscribed to any posts on this site."
314
  msgstr ""
315
 
316
+ # c:\stc/wp-subscription-manager.php:168
317
  #, php-format
318
  msgid "<strong>%s</strong> is not a valid e-mail address."
319
  msgstr ""
320
 
321
+ # c:\stc/wp-subscription-manager.php:180
322
  msgid "Find Subscriptions"
323
  msgstr ""
324
 
325
+ # c:\stc/wp-subscription-manager.php:183
326
  msgid "Enter an e-mail address to view its subscriptions or undo a block."
327
  msgstr ""
328
 
329
+ # c:\stc/wp-subscription-manager.php:191
330
  msgid "Search &raquo;"
331
  msgstr ""
332
 
333
+ # c:\stc/wp-subscription-manager.php:220
334
  #, php-format
335
  msgid "<strong>%s</strong> is subscribed to the posts listed below. To unsubscribe to one or more posts, click the checkbox next to the title, then click \"Remove Selected Subscription(s)\" at the bottom of the list."
336
  msgstr ""
337
 
338
+ # c:\stc/wp-subscription-manager.php:234
339
  msgid "Invert Checkbox Selection"
340
  msgstr ""
341
 
342
+ # c:\stc/wp-subscription-manager.php:238
343
  msgid "Remove Selected Subscription(s) &raquo;"
344
  msgstr ""
345
 
346
+ # c:\stc/wp-subscription-manager.php:245
347
  msgid "Advanced Options"
348
  msgstr ""
349
 
350
+ # c:\stc/wp-subscription-manager.php:248
351
  msgid "Block All Notifications"
352
  msgstr ""
353
 
354
+ # c:\stc/wp-subscription-manager.php:255
355
  #, php-format
356
  msgid "If you would like <strong>%s</strong> to be blocked from receiving any notifications from this site, click the button below. This should be reserved for cases where someone is signing you up for notifications without your consent."
357
  msgstr ""
358
 
359
+ # c:\stc/wp-subscription-manager.php:259
360
  msgid "Block Notifications &raquo;"
361
  msgstr ""
362
 
363
+ # c:\stc/wp-subscription-manager.php:265
364
  msgid "Change E-mail Address"
365
  msgstr ""
366
 
367
+ # c:\stc/wp-subscription-manager.php:272
368
  #, php-format
369
  msgid "If you would like to change the e-mail address for your subscriptions, enter the new address below. You will be required to verify this request by clicking a special link sent to your current address (<strong>%s</strong>)."
370
  msgstr ""
371
 
372
+ # c:\stc/wp-subscription-manager.php:276
373
  msgid "New E-mail Address:"
374
  msgstr ""
375
 
376
+ # c:\stc/wp-subscription-manager.php:281
377
  msgid "Change E-mail Address &raquo;"
378
  msgstr ""
379
 
wp-subscription-manager.php CHANGED
@@ -217,7 +217,7 @@ for( i = 0, n = form.elements.length; i < n; i++ ) {
217
  </script>
218
 
219
  <fieldset class="options">
220
- <legend><?php _e('Subscriptions', 'subscribe-to-comments'); ?></legend>
221
 
222
  <p>
223
  <?php printf(__('<strong>%s</strong> is subscribed to the posts listed below. To unsubscribe to one or more posts, click the checkbox next to the title, then click "Remove Selected Subscription(s)" at the bottom of the list.', 'subscribe-to-comments'), $sg_subscribe->email); ?>
217
  </script>
218
 
219
  <fieldset class="options">
220
+ <legend><?php _e('Subscriptions'); ?></legend>
221
 
222
  <p>
223
  <?php printf(__('<strong>%s</strong> is subscribed to the posts listed below. To unsubscribe to one or more posts, click the checkbox next to the title, then click "Remove Selected Subscription(s)" at the bottom of the list.', 'subscribe-to-comments'), $sg_subscribe->email); ?>