Subscribe2 - Version 7.0.1

Version Description

Download this release

Release Info

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

Code changes from version 7.0 to 7.0.1

Files changed (4) hide show
  1. ReadMe.txt +8 -3
  2. include/options.php +1 -1
  3. subscribe2.php +3 -3
  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: 3.1
6
Tested up to: 3.3
7
- Stable tag: 7.0
8
9
Sends a list of subscribers an email notification when new posts are published to your blog
10
@@ -259,9 +259,9 @@ By default Public Subscribers get plain text emails and only Registered Subscrib
259
260
= Which version should I be using, I'm on WordPress x.x.x? =
261
262
- WordPress 3.1 and up requres Subscribe2 from the 7.x stable branch. The most recent version is hosted via [Wordpress.org](http://wordpress.org/extend/plugins/subscribe2/).
263
264
- WordPress 2.8 and up requires Subscribe2 from the 6.x stable branch. The most recenet version is [6.5](http://downloads.wordpress.org/plugin/subscribe2.6.5.zip).
265
266
WordPress 2.3.x through to 2.7.x require Subscribe2 from the 4.x or 5.x stable branch. The most recent version is [5.9](http://downloads.wordpress.org/plugin/subscribe2.5.9.zip).
267
@@ -283,6 +283,11 @@ Secondly, make sure that the token ([subscribe2] or <!--subscribe2-->) is correc
283
284
== Changelog ==
285
286
= Version 7.0 by Matthew Robinson =
287
288
* NOTE Subscribe2 now requires WordPress 3.1 or higher
4
Tags: posts, subscription, email, subscribe, notify, notification
5
Requires at least: 3.1
6
Tested up to: 3.3
7
+ Stable tag: 7.0.1
8
9
Sends a list of subscribers an email notification when new posts are published to your blog
10
259
260
= Which version should I be using, I'm on WordPress x.x.x? =
261
262
+ WordPress 3.1 and up requires Subscribe2 from the 7.x stable branch. The most recent version is hosted via [Wordpress.org](http://wordpress.org/extend/plugins/subscribe2/).
263
264
+ WordPress 2.8 and up requires Subscribe2 from the 6.x stable branch. The most q version is [6.5](http://downloads.wordpress.org/plugin/subscribe2.6.5.zip).
265
266
WordPress 2.3.x through to 2.7.x require Subscribe2 from the 4.x or 5.x stable branch. The most recent version is [5.9](http://downloads.wordpress.org/plugin/subscribe2.5.9.zip).
267
283
284
== Changelog ==
285
286
+ = Version 7.0.1 by Matthew Robinson =
287
+
288
+ * Fixed a typo in the include/options file that caused failed installs and upgrades
289
+ * Fix for get_registered() function for fringe situations
290
+
291
= Version 7.0 by Matthew Robinson =
292
293
* NOTE Subscribe2 now requires WordPress 3.1 or higher
include/options.php CHANGED
@@ -91,7 +91,7 @@ if (!isset($this->subscribe2_options['show_button'])) {
91
} // option to show Subscribe2 button on Write page
92
93
if (!isset($this->subscribe2_options['ajax'])) {
94
- $this->subscribe2_options['ajax'] ) = "0";
95
} // option to enable an AJAX style form
96
97
if (!isset($this->subscribe2_options['widget'])) {
91
} // option to show Subscribe2 button on Write page
92
93
if (!isset($this->subscribe2_options['ajax'])) {
94
+ $this->subscribe2_options['ajax'] = "0";
95
} // option to enable an AJAX style form
96
97
if (!isset($this->subscribe2_options['widget'])) {
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.
6
- Version: 7.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
@@ -39,7 +39,7 @@ if ( version_compare($wp_version, '3.1', '<') ) {
39
40
// our version number. Don't touch this or any line below
41
// unless you know exactly what you are doing
42
- define( 'S2VERSION', '7.0' );
43
define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
44
define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );
45
define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
@@ -1170,7 +1170,7 @@ class s2class {
1170
$registered = $wpdb->get_col("SELECT user_email FROM $wpdb->users WHERE ID IN ($ids)");
1171
}
1172
1173
- if ( empty($registered) ) { return false; }
1174
1175
// apply filter to registered users to add or remove additional addresses, pass args too for additional control
1176
$registered = apply_filters('s2_registered_subscribers', $registered, $args);
3
Plugin Name: Subscribe2
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Notifies an email list when new entries are posted.
6
+ Version: 7.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
39
40
// our version number. Don't touch this or any line below
41
// unless you know exactly what you are doing
42
+ define( 'S2VERSION', '7.0.1' );
43
define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
44
define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );
45
define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
1170
$registered = $wpdb->get_col("SELECT user_email FROM $wpdb->users WHERE ID IN ($ids)");
1171
}
1172
1173
+ if ( empty($registered) ) { return array(); }
1174
1175
// apply filter to registered users to add or remove additional addresses, pass args too for additional control
1176
$registered = apply_filters('s2_registered_subscribers', $registered, $args);
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: 2011-12-14 18:44+0000\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: 2011-12-14 20:28+0000\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"