Subscribe to Comments - Version 2.0-beta-2

Version Description

Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0-beta-2

readme.txt DELETED
@@ -1,26 +0,0 @@
1
- === Subscribe to Comments ===
2
- Tags: comments, subscription
3
- Contributors: markjaquith
4
-
5
- Subscribe to Comments 2 is a WordPress plugin that allows commenters on an entry to subscribe to e-mail notifications for subsequent comments. It does NOT e-mail you new blog posts. For that functionality, use Skippy's Subscribe2 plugin.
6
-
7
- == Installation ==
8
-
9
- 1. Put subscribe-to-comments.php into [wordpress_dir]/wp-content/plugins/
10
- 2. Put wp-subscription-manager.php into your blog's root WordPress directory (the directory where wp-config.php resides)
11
- 3. Go into the WordPress admin interface and activate the plugin
12
- 4. Optional: if your WordPress 1.5 theme doesn't have the comment_form hook, or if you would like to manually determine where in your comments form the subscribe checkbox appears, enter this where you would like it: <?php show_subscription_checkbox(); ?>
13
- 5. Optional: If you would like to enable users to subscribe to comments without having to leave a comment, place this somewhere in your template, but make sure it is <strong>outside the comments form</strong>. A good place would be right after the ending </form> tag for the comments form: <?php show_manual_subscription_form(); ?>
14
-
15
- == Frequently Asked Questions ==
16
-
17
- = How can I tell if it's working? =
18
-
19
- 1. Log out of WordPress
20
- 2. Leave a comment on an entry and check the comment subscription box, using an e-mail that is NOT the WP admin e-mail address or the e-mail address of the author of the post.
21
- 3. Leave a second comment (don't have to subscribed) using any old e-mail address
22
- 4. This should trigger a notification to the first address you used.
23
-
24
- = I'd like the subscription checkbox to be checked by default. Can I do that? =
25
-
26
- By default, the "subscribe" checkbox is unchecked, but you can change that in the options (i.e. so that it is checked by default).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
subscribe-to-comments.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Subscribe To Comments
4
- Version: 2.0.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)
@@ -627,7 +627,7 @@ class sg_subscribe
627
  $subject = '[' . get_bloginfo('name') . '] ' . $subject;
628
  $headers = "From: ".$this->site_name." <".$this->site_email.">\n";
629
  $headers .= "MIME-Version: 1.0\n" . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
630
- return wp_mail($to, $subject, $message, $headers);
631
  }
632
 
633
 
@@ -705,96 +705,6 @@ class sg_subscribe
705
  }
706
 
707
 
708
- function url_to_postid($url) {
709
- // This function is the version of WordPress' url_to_postid()
710
- // function that was modified by Mark Jaquith for use in
711
- // the upcoming WordPress version 1.6
712
- // It fixes many bugs inherant in the 1.5.x version of the function
713
-
714
- global $wp_rewrite;
715
-
716
- // First, check to see if there is a 'p=N' or 'page_id=N' to match against
717
- preg_match('#[?&](p|page_id)=(\d+)#', $url, $values);
718
- $id = intval($values[2]);
719
- if ($id) return $id;
720
-
721
- // Check to see if we are using rewrite rules
722
- $rewrite = $wp_rewrite->wp_rewrite_rules();
723
-
724
- // Not using rewrite rules, and 'p=N' and 'page_id=N' methods failed, so we're out of options
725
- if ( empty($rewrite) )
726
- return 0;
727
-
728
- // $url cleanup by Mark Jaquith
729
- // This fixes things like #anchors, ?query=strings, missing 'www.',
730
- // added 'www.', or added 'index.php/' that will mess up our WP_Query
731
- // and return a false negative
732
-
733
- // Get rid of the #anchor
734
- $url_split = explode('#', $url);
735
- $url = $url_split[0];
736
-
737
- // Get rid of URI ?query=string
738
- $url_split = explode('?', $url);
739
- $url = $url_split[0];
740
-
741
- // Add 'www.' if it is absent and should be there
742
- if ( false !== strpos(get_settings('home'), '://www.') && false === strpos($url, '://www.') )
743
- $url = str_replace('://', '://www.', $url);
744
-
745
- // Strip 'www.' if it is present and shouldn't be
746
- if ( false === strpos(get_settings('home'), '://www.') )
747
- $url = str_replace('://www.', '://', $url);
748
-
749
- // Strip 'index.php/' if we're not using path info permalinks
750
- if ( false === strpos($rewrite, 'index.php/') )
751
- $url = str_replace('index.php/', '', $url);
752
-
753
- // Chop off http://domain.com
754
- if ( false !== strpos($url, get_settings('home')) ) {
755
- $url = str_replace(get_settings('home'), '', $url);
756
- } else {
757
- // Chop off /path/to/blog
758
- $home_path = parse_url(get_settings('home'));
759
- $home_path = $home_path['path'];
760
- $url = str_replace($home_path, '', $url);
761
- }
762
-
763
- // Trim leading and lagging slashes
764
- $url = trim($url, '/');
765
-
766
- $request = $url;
767
-
768
- // Done with cleanup
769
-
770
- // Look for matches.
771
- $request_match = $request;
772
- foreach ($rewrite as $match => $query) {
773
- // If the requesting file is the anchor of the match, prepend it
774
- // to the path info.
775
- if ((! empty($url)) && (strpos($match, $url) === 0)) {
776
- $request_match = $url . '/' . $request;
777
- }
778
-
779
- if (preg_match("!^$match!", $request_match, $matches)) {
780
- // Got a match.
781
- // Trim the query of everything up to the '?'.
782
- $query = preg_replace("!^.+\?!", '', $query);
783
-
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;
791
- }
792
- }
793
-
794
- return 0;
795
- }
796
-
797
-
798
  function manage_link($email='', $html=true, $echo=true) {
799
  $link = get_bloginfo('wpurl') . '/wp-subscription-manager.php?';
800
  if ($html) $amp = 'amp;';
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)
627
  $subject = '[' . get_bloginfo('name') . '] ' . $subject;
628
  $headers = "From: ".$this->site_name." <".$this->site_email.">\n";
629
  $headers .= "MIME-Version: 1.0\n" . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
630
+ return mail ($to, $subject, $message, $headers);
631
  }
632
 
633
 
705
  }
706
 
707
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
708
  function manage_link($email='', $html=true, $echo=true) {
709
  $link = get_bloginfo('wpurl') . '/wp-subscription-manager.php?';
710
  if ($html) $amp = 'amp;';
subscribe-to-comments.pot DELETED
@@ -1,379 +0,0 @@
1
- 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"
11
- "X-Poedit-Keywords: __,_e\n"
12
- "X-Poedit-Basepath: .\n"
13
- "X-Poedit-SearchPath-0: c:\\stc\n"
14
-
15
- # c:\stc/subscribe-to-comments.php:81
16
- msgid "<strong>Error: </strong>"
17
- msgstr ""
18
-
19
- # c:\stc/subscribe-to-comments.php:96
20
- msgid "Subscribe without commenting"
21
- msgstr ""
22
-
23
- # c:\stc/subscribe-to-comments.php:98
24
- msgid "E-Mail:"
25
- msgstr ""
26
-
27
- # c:\stc/subscribe-to-comments.php:100
28
- msgid "Subscribe"
29
- msgstr ""
30
-
31
- # c:\stc/subscribe-to-comments.php:146
32
- msgid "\"From\" name for notifications:"
33
- msgstr ""
34
-
35
- # c:\stc/subscribe-to-comments.php:147
36
- msgid "\"From\" e-mail addresss for notifications:"
37
- msgstr ""
38
-
39
- # c:\stc/subscribe-to-comments.php:148
40
- msgid "\"Subscribe\" box should be checked by default"
41
- msgstr ""
42
-
43
- # c:\stc/subscribe-to-comments.php:151
44
- msgid "Comment Form Text"
45
- msgstr ""
46
-
47
- # c:\stc/subscribe-to-comments.php:153
48
- msgid "Customize the messages shown to different people. Use <code>[manager_link]</code> to insert the URI to the Subscription Manager."
49
- msgstr ""
50
-
51
- # c:\stc/subscribe-to-comments.php:157
52
- msgid "Not subscribed"
53
- msgstr ""
54
-
55
- # c:\stc/subscribe-to-comments.php:159
56
- msgid "Subscribed"
57
- msgstr ""
58
-
59
- # c:\stc/subscribe-to-comments.php:161
60
- msgid "Entry Author"
61
- msgstr ""
62
-
63
- # c:\stc/subscribe-to-comments.php:173
64
- msgid "Use custom style for Subscription Manager"
65
- msgstr ""
66
-
67
- # c:\stc/subscribe-to-comments.php:175
68
- msgid "These settings only matter if you are using a custom style. <code>[theme_path]</code> will be replaced with the path to your current theme."
69
- msgstr ""
70
-
71
- # c:\stc/subscribe-to-comments.php:178
72
- msgid "Path to header:"
73
- msgstr ""
74
-
75
- # c:\stc/subscribe-to-comments.php:179
76
- msgid "Path to sidebar:"
77
- msgstr ""
78
-
79
- # c:\stc/subscribe-to-comments.php:180
80
- msgid "Path to footer:"
81
- msgstr ""
82
-
83
- # c:\stc/subscribe-to-comments.php:183
84
- msgid "HTML for before the subscription manager:"
85
- msgstr ""
86
-
87
- # c:\stc/subscribe-to-comments.php:184
88
- msgid "HTML for after the subscription manager:"
89
- msgstr ""
90
-
91
- # c:\stc/subscribe-to-comments.php:213
92
- msgid "Options saved."
93
- msgstr ""
94
-
95
- # c:\stc/subscribe-to-comments.php:221
96
- msgid "Update Options &raquo;"
97
- msgstr ""
98
-
99
- # c:\stc/subscribe-to-comments.php:392
100
- msgid "Please provide a valid e-mail address."
101
- msgstr ""
102
-
103
- # c:\stc/subscribe-to-comments.php:395
104
- msgid "This e-mail address may not be subscribed"
105
- msgstr ""
106
-
107
- # c:\stc/subscribe-to-comments.php:401
108
- # c:\stc/subscribe-to-comments.php:415
109
- msgid "You appear to be already subscribed to this entry."
110
- msgstr ""
111
-
112
- # c:\stc/subscribe-to-comments.php:406
113
- msgid "Comments are not allowed on this entry."
114
- msgstr ""
115
-
116
- # c:\stc/subscribe-to-comments.php:577
117
- #, php-format
118
- msgid "There is a new comment on the post \"%s\""
119
- msgstr ""
120
-
121
- # c:\stc/subscribe-to-comments.php:578
122
- #, php-format
123
- msgid "Author: %s\n"
124
- msgstr ""
125
-
126
- # c:\stc/subscribe-to-comments.php:579
127
- msgid "Comment:\n"
128
- msgstr ""
129
-
130
- # c:\stc/subscribe-to-comments.php:580
131
- msgid "See all comments on this post here:\n"
132
- msgstr ""
133
-
134
- # c:\stc/subscribe-to-comments.php:583
135
- msgid "To manage your subscriptions or to block all notifications from this site, click the link below:\n"
136
- msgstr ""
137
-
138
- # c:\stc/subscribe-to-comments.php:586
139
- #, php-format
140
- msgid "New Comment On: %s"
141
- msgstr ""
142
-
143
- # c:\stc/subscribe-to-comments.php:606
144
- msgid "E-mail change confirmation"
145
- msgstr ""
146
-
147
- # c:\stc/subscribe-to-comments.php:607
148
- #, php-format
149
- msgid ""
150
- "You are receiving this message to confirm a change of e-mail address for your subscriptions at \"%s\"\n"
151
- "\n"
152
- msgstr ""
153
-
154
- # c:\stc/subscribe-to-comments.php:608
155
- #, php-format
156
- msgid ""
157
- "To change your e-mail address to %s, click this link:\n"
158
- "\n"
159
- msgstr ""
160
-
161
- # c:\stc/subscribe-to-comments.php:610
162
- # c:\stc/subscribe-to-comments.php:621
163
- msgid "If you did not request this action, please disregard this message."
164
- msgstr ""
165
-
166
- # c:\stc/subscribe-to-comments.php:617
167
- msgid "E-mail block confirmation"
168
- msgstr ""
169
-
170
- # c:\stc/subscribe-to-comments.php:618
171
- #, php-format
172
- msgid ""
173
- "You are receiving this message to confirm that you no longer wish to receive e-mail comment notifications from \"%s\"\n"
174
- "\n"
175
- msgstr ""
176
-
177
- # c:\stc/subscribe-to-comments.php:619
178
- msgid ""
179
- "To cancel all future notifications for this address, click this link:\n"
180
- "\n"
181
- msgstr ""
182
-
183
- # c:\stc/subscribe-to-comments.php:651
184
- msgid "click here"
185
- msgstr ""
186
-
187
- # c:\stc/subscribe-to-comments.php:673
188
- msgid "Notify me of followup comments via e-mail"
189
- msgstr ""
190
-
191
- # c:\stc/subscribe-to-comments.php:673
192
- msgid "You are subscribed to this entry. <a href=\"[manager_link]\">Manage your subscriptions</a>."
193
- msgstr ""
194
-
195
- # c:\stc/subscribe-to-comments.php:673
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
-
213
- # c:\stc/wp-subscription-manager.php:9
214
- msgid "You must activate the \"Subscribe to Comments\" plugin in the WordPress admin panel"
215
- msgstr ""
216
-
217
- # c:\stc/wp-subscription-manager.php:26
218
- msgid "You may not access this page without a valid key."
219
- msgstr ""
220
-
221
- # c:\stc/wp-subscription-manager.php:34
222
- #, php-format
223
- msgid "All notifications that were formerly sent to <strong>%s</strong> will now be sent to <strong>%s</strong>!"
224
- msgstr ""
225
-
226
- # c:\stc/wp-subscription-manager.php:46
227
- #, php-format
228
- msgid "<strong>%s</strong> %s removed successfully."
229
- msgstr ""
230
-
231
- # c:\stc/wp-subscription-manager.php:46
232
- msgid "subscriptions"
233
- msgstr ""
234
-
235
- # c:\stc/wp-subscription-manager.php:46
236
- msgid "subscription"
237
- msgstr ""
238
-
239
- # c:\stc/wp-subscription-manager.php:51
240
- #, php-format
241
- msgid "The block on <strong>%s</strong> has been successfully removed."
242
- msgstr ""
243
-
244
- # c:\stc/wp-subscription-manager.php:53
245
- #, php-format
246
- msgid "<strong>%s</strong> isn't blocked!"
247
- msgstr ""
248
-
249
- # c:\stc/wp-subscription-manager.php:58
250
- #, php-format
251
- msgid "<strong>%s</strong> has been blocked from receiving notifications. You will have to have the administrator remove the block before you will be able to change your notification address."
252
- msgstr ""
253
-
254
- # c:\stc/wp-subscription-manager.php:61
255
- #, php-format
256
- msgid "Your change of e-mail request was successfully received. Please check your old account (<strong>%s</strong>) in order to confirm the change."
257
- msgstr ""
258
-
259
- # c:\stc/wp-subscription-manager.php:66
260
- #, php-format
261
- msgid "Your request to block <strong>%s</strong> from receiving any further notifications has been received. In order for you to complete the block, please check your e-mail and click on the link in the message that has been sent to you."
262
- msgstr ""
263
-
264
- # c:\stc/wp-subscription-manager.php:70
265
- #, php-format
266
- msgid "<strong>%s</strong> has been successfully subscribed to %s"
267
- msgstr ""
268
-
269
- # c:\stc/wp-subscription-manager.php:75
270
- #, php-format
271
- msgid "<strong>%s</strong> has been added to the \"do not mail\" list. You will no longer receive any notifications from this site. If this was done in error, please contact the <a href=\"mailto:%s\">site administrator</a> to remove this block."
272
- msgstr ""
273
-
274
- # c:\stc/wp-subscription-manager.php:77
275
- #, php-format
276
- msgid "<strong>%s</strong> has already been blocked!"
277
- msgstr ""
278
-
279
- # c:\stc/wp-subscription-manager.php:94
280
- #, php-format
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
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-subscription-manager.php CHANGED
@@ -119,7 +119,7 @@ charset=<?php bloginfo('charset'); ?>" />
119
  <h2><?php bloginfo('name'); ?> <?php _e('Comment Subscription Manager', 'subscribe-to-comments'); ?></h2>
120
 
121
  <?php if (!empty($sg_subscribe->ref)) : ?>
122
- <?php $sg_subscribe->add_message(sprintf(__('Return to the page you were viewing: %s', 'subscribe-to-comments'), $sg_subscribe->entry_link($sg_subscribe->url_to_postid($sg_subscribe->ref), $sg_subscribe->ref))); ?>
123
  <?php $sg_subscribe->show_messages(); ?>
124
  <?php endif; ?>
125
 
@@ -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); ?>
119
  <h2><?php bloginfo('name'); ?> <?php _e('Comment Subscription Manager', 'subscribe-to-comments'); ?></h2>
120
 
121
  <?php if (!empty($sg_subscribe->ref)) : ?>
122
+ <?php $sg_subscribe->add_message(sprintf(__('Return to the page you were viewing: %s', 'subscribe-to-comments'), $sg_subscribe->entry_link(url_to_postid($sg_subscribe->ref), $sg_subscribe->ref))); ?>
123
  <?php $sg_subscribe->show_messages(); ?>
124
  <?php endif; ?>
125
 
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); ?>