Subscribe2 - Version 5.0.1

Version Description

Download this release

Release Info

Developer MattyRob
Plugin Icon 128x128 Subscribe2
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0 to 5.0.1

Files changed (4) hide show
  1. ReadMe.txt +1 -1
  2. counterwidget.php +1 -1
  3. subscribe2.php +8 -8
  4. subscribe2.pot +1 -1
ReadMe.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_butt
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 2.0.x
6
  Tested up to: 2.8.4
7
- Stable tag: 5.0
8
 
9
  Sends a list of subscribers an email notification when new posts are published to your blog
10
 
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 2.0.x
6
  Tested up to: 2.8.4
7
+ Stable tag: 5.0.1
8
 
9
  Sends a list of subscribers an email notification when new posts are published to your blog
10
 
counterwidget.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Subscribe2 Counter Widget
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Adds a sidebar widget to easily customize and display your Subscribe2 subscribers stats.
6
- Version: 5.0
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2387904
3
  Plugin Name: Subscribe2 Counter Widget
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Adds a sidebar widget to easily customize and display your Subscribe2 subscribers stats.
6
+ Version: 5.0.1
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2387904
subscribe2.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted. For support visit the <a href="http://getsatisfaction.com/subscribe2/">Subscribe2 forum</a>.
6
- Version: 5.0
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
@@ -68,9 +68,9 @@ class s2class {
68
 
69
  $this->please_log_in = "<p>" . __('To manage your subscription options please', 'subscribe2') . " <a href=\"" . get_option('siteurl') . "/wp-login.php\">" . __('login', 'subscribe2') . "</a>.</p>";
70
 
71
- $this->use_profile_admin = "<p>" . __('You may manage your subscription options from your', 'subscribe2') . " <a href=\"" . get_option('siteurl') . "/wp-admin/users.php?page=" . plugin_basename(__FILE__) . "\">" . __('profile', 'subscribe2') . "</a>.</p>";
72
 
73
- $this->use_profile_users = "<p>" . __('You may manage your subscription options from your', 'subscribe2') . " <a href=\"" . get_option('siteurl') . "/wp-admin/profile.php?page=" . plugin_basename(__FILE__) . "\">" . __('profile', 'subscribe2') . "</a>.</p>";
74
 
75
  $this->confirmation_sent = "<p>" . __('A confirmation message is on its way!', 'subscribe2') . "</p>";
76
 
@@ -1214,11 +1214,11 @@ class s2class {
1214
 
1215
  // redirect to profile page
1216
  if (current_user_can('manage_options')) {
1217
- $url = get_option('siteurl') . '/wp-admin/users.php?page=subscribe2/subscribe2.php';
1218
  wp_redirect($url);
1219
  exit();
1220
  } else {
1221
- $url = get_option('siteurl') . '/wp-admin/profile.php?page=subscribe2/subscribe2.php';
1222
  wp_redirect($url);
1223
  exit();
1224
  }
@@ -1580,7 +1580,7 @@ class s2class {
1580
  } elseif (in_array($subscriber, $all_users)) {
1581
  echo "</td><td align=\"center\"></td><td align=\"center\"></td>\r\n";
1582
  echo "<td><span style=\"color:#006600\">&reg;&nbsp;&nbsp;</span><a href=\"mailto:" . $subscriber . "\">" . $subscriber . "</a>\r\n";
1583
- echo "(<a href=\"" . get_option('siteurl') . "/wp-admin/users.php?page=subscribe2/subscribe2.php&amp;email=$subscriber\">" . __('edit', 'subscribe2') . "</a>)\r\n";
1584
  }
1585
  echo "</td></tr>\r\n";
1586
  ('alternate' == $alternate) ? $alternate = '' : $alternate = 'alternate';
@@ -2257,7 +2257,7 @@ class s2class {
2257
  }
2258
  $blog['description'] = get_bloginfo('description');
2259
  $blog['blogurl'] = get_bloginfo('url');
2260
- $blog['subscribe_page'] = get_bloginfo('url') . "/wp-admin/users.php?page=subscribe2/subscribe2.php";
2261
 
2262
  $key = strtolower($blog['blogname'] . "-" . $blog['blog_id']);
2263
  if (!empty($subscribed)) {
@@ -2628,7 +2628,7 @@ class s2class {
2628
  */
2629
  function plugin_action($links, $file) {
2630
  if ($file == plugin_basename(dirname(__FILE__).'/subscribe2.php')) {
2631
- $s2link[] = "<a href='options-general.php?page=subscribe2/subscribe2.php'><b>" . __('Settings', 'subscribe2') . "</b></a>";
2632
  $links = array_merge($s2link, $links);
2633
  }
2634
  return $links;
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted. For support visit the <a href="http://getsatisfaction.com/subscribe2/">Subscribe2 forum</a>.
6
+ Version: 5.0.1
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
68
 
69
  $this->please_log_in = "<p>" . __('To manage your subscription options please', 'subscribe2') . " <a href=\"" . get_option('siteurl') . "/wp-login.php\">" . __('login', 'subscribe2') . "</a>.</p>";
70
 
71
+ $this->use_profile_admin = "<p>" . __('You may manage your subscription options from your', 'subscribe2') . " <a href=\"" . get_option('siteurl') . "/wp-admin/users.php?page=s2_users\">" . __('profile', 'subscribe2') . "</a>.</p>";
72
 
73
+ $this->use_profile_users = "<p>" . __('You may manage your subscription options from your', 'subscribe2') . " <a href=\"" . get_option('siteurl') . "/wp-admin/profile.php?page=s2_users\">" . __('profile', 'subscribe2') . "</a>.</p>";
74
 
75
  $this->confirmation_sent = "<p>" . __('A confirmation message is on its way!', 'subscribe2') . "</p>";
76
 
1214
 
1215
  // redirect to profile page
1216
  if (current_user_can('manage_options')) {
1217
+ $url = get_option('siteurl') . '/wp-admin/users.php?page=s2_users';
1218
  wp_redirect($url);
1219
  exit();
1220
  } else {
1221
+ $url = get_option('siteurl') . '/wp-admin/profile.php?page=s2_users';
1222
  wp_redirect($url);
1223
  exit();
1224
  }
1580
  } elseif (in_array($subscriber, $all_users)) {
1581
  echo "</td><td align=\"center\"></td><td align=\"center\"></td>\r\n";
1582
  echo "<td><span style=\"color:#006600\">&reg;&nbsp;&nbsp;</span><a href=\"mailto:" . $subscriber . "\">" . $subscriber . "</a>\r\n";
1583
+ echo "(<a href=\"" . get_option('siteurl') . "/wp-admin/users.php?page=s2_users&amp;email=$subscriber\">" . __('edit', 'subscribe2') . "</a>)\r\n";
1584
  }
1585
  echo "</td></tr>\r\n";
1586
  ('alternate' == $alternate) ? $alternate = '' : $alternate = 'alternate';
2257
  }
2258
  $blog['description'] = get_bloginfo('description');
2259
  $blog['blogurl'] = get_bloginfo('url');
2260
+ $blog['subscribe_page'] = get_bloginfo('url') . "/wp-admin/users.php?page=s2_users";
2261
 
2262
  $key = strtolower($blog['blogname'] . "-" . $blog['blog_id']);
2263
  if (!empty($subscribed)) {
2628
  */
2629
  function plugin_action($links, $file) {
2630
  if ($file == plugin_basename(dirname(__FILE__).'/subscribe2.php')) {
2631
+ $s2link[] = "<a href='options-general.php?page=s2_settings'><b>" . __('Settings', 'subscribe2') . "</b></a>";
2632
  $links = array_merge($s2link, $links);
2633
  }
2634
  return $links;
subscribe2.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2009-09-15 20:59+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2009-09-17 18:57+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"