Version Description
Download this release
Release Info
| Developer | PriMoThemes |
| Plugin | |
| Version | 111003 |
| Comparing to | |
| See all releases | |
Code changes from version 111002 to 111003
- includes/classes/no-cache.inc.php +5 -2
- readme.txt +5 -2
- s2member.php +8 -8
includes/classes/no-cache.inc.php
CHANGED
|
@@ -153,9 +153,12 @@ if (!class_exists ("c_ws_plugin__s2member_no_cache"))
|
|
| 153 |
/**/
|
| 154 |
foreach (headers_list () as $header) /* No-cache headers already sent? We need to check here. */
|
| 155 |
if (stripos ($header, "no-cache") !== false) /* No-cache headers already sent? */
|
| 156 |
-
|
|
|
|
|
|
|
|
|
|
| 157 |
/**/
|
| 158 |
-
if (!$no_cache_headers_already_sent) /*
|
| 159 |
nocache_headers (); /* Only if NOT already sent. */
|
| 160 |
/**/
|
| 161 |
$once = true; /* Only set these headers once. */
|
| 153 |
/**/
|
| 154 |
foreach (headers_list () as $header) /* No-cache headers already sent? We need to check here. */
|
| 155 |
if (stripos ($header, "no-cache") !== false) /* No-cache headers already sent? */
|
| 156 |
+
{
|
| 157 |
+
$no_cache_headers_already_sent = true; /* Yep, sent. */
|
| 158 |
+
break; /* Break now, no need to continue any further. */
|
| 159 |
+
}
|
| 160 |
/**/
|
| 161 |
+
if (!$no_cache_headers_already_sent) /* Check here. */
|
| 162 |
nocache_headers (); /* Only if NOT already sent. */
|
| 163 |
/**/
|
| 164 |
$once = true; /* Only set these headers once. */
|
readme.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
=== s2Member® ( Membership w/ PayPal® ) ===
|
| 2 |
|
| 3 |
-
Version:
|
| 4 |
-
Stable tag:
|
| 5 |
Framework: WS-P-110523
|
| 6 |
|
| 7 |
SSL Compatible: yes
|
|
@@ -178,6 +178,9 @@ Please visit s2Member.com for [video tutorials](http://www.s2member.com/videos/)
|
|
| 178 |
|
| 179 |
== Changelog ==
|
| 180 |
|
|
|
|
|
|
|
|
|
|
| 181 |
= v111002 =
|
| 182 |
* (s2Member) **BuddyPress v1.5 fix**. Issues with BuddyPress v1.5 and s2Member's URI Restrictions; corrected in this release. Hook priority updated, and `template_redirect` converted to `wp` at priority `2`, giving s2Member the ability to integrate with BuddyPress v1.5 properly in all scenarios.
|
| 183 |
* (s2Member) **tinyURL® bug fix**. s2Member's handling of potential failures in the output of tinyURLs, generated by the tinyURL® API; was NOT considering all failure possibilities. A symptom of this bug was to see URLs in your Signup Confirmation Email (occassionally, upon connection failure to the tinyURL® API, when it was down for whatever reason) starting with: `Error#`. Corrected in this release.
|
| 1 |
=== s2Member® ( Membership w/ PayPal® ) ===
|
| 2 |
|
| 3 |
+
Version: 111003
|
| 4 |
+
Stable tag: 111003
|
| 5 |
Framework: WS-P-110523
|
| 6 |
|
| 7 |
SSL Compatible: yes
|
| 178 |
|
| 179 |
== Changelog ==
|
| 180 |
|
| 181 |
+
= v111003 =
|
| 182 |
+
* (s2Member) **Bug fix**. Fatal `eval()` error inside: `/includes/classes/no-cache.inc.php`. Fixed in this release.
|
| 183 |
+
|
| 184 |
= v111002 =
|
| 185 |
* (s2Member) **BuddyPress v1.5 fix**. Issues with BuddyPress v1.5 and s2Member's URI Restrictions; corrected in this release. Hook priority updated, and `template_redirect` converted to `wp` at priority `2`, giving s2Member the ability to integrate with BuddyPress v1.5 properly in all scenarios.
|
| 186 |
* (s2Member) **tinyURL® bug fix**. s2Member's handling of potential failures in the output of tinyURLs, generated by the tinyURL® API; was NOT considering all failure possibilities. A symptom of this bug was to see URLs in your Signup Confirmation Email (occassionally, upon connection failure to the tinyURL® API, when it was down for whatever reason) starting with: `Error#`. Corrected in this release.
|
s2member.php
CHANGED
|
@@ -19,8 +19,8 @@
|
|
| 19 |
*/
|
| 20 |
/* -- This section for WordPress® parsing. ------------------------------------------------------------------------------
|
| 21 |
|
| 22 |
-
Version:
|
| 23 |
-
Stable tag:
|
| 24 |
Framework: WS-P-110523
|
| 25 |
|
| 26 |
SSL Compatible: yes
|
|
@@ -65,7 +65,7 @@ Tags: membership, members, member, register, signup, paypal, paypal pro, pay pal
|
|
| 65 |
|
| 66 |
-- end section for WordPress® parsing. ------------------------------------------------------------------------------- */
|
| 67 |
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
|
| 68 |
-
exit("Do not access this file directly.");
|
| 69 |
/**
|
| 70 |
* The installed version of s2Member.
|
| 71 |
*
|
|
@@ -75,7 +75,7 @@ if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
|
|
| 75 |
* @var str
|
| 76 |
*/
|
| 77 |
if (!defined ("WS_PLUGIN__S2MEMBER_VERSION"))
|
| 78 |
-
define ("WS_PLUGIN__S2MEMBER_VERSION", "
|
| 79 |
/**
|
| 80 |
* Minimum PHP version required to run s2Member.
|
| 81 |
*
|
|
@@ -105,7 +105,7 @@ if (!defined ("WS_PLUGIN__S2MEMBER_MIN_WP_VERSION"))
|
|
| 105 |
* @var str
|
| 106 |
*/
|
| 107 |
if (!defined ("WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION"))
|
| 108 |
-
define ("WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION", "
|
| 109 |
/*
|
| 110 |
Several compatibility checks.
|
| 111 |
If all pass, load the s2Member plugin.
|
|
@@ -116,7 +116,7 @@ if (version_compare (PHP_VERSION, WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION, ">=") &&
|
|
| 116 |
/*
|
| 117 |
Hook before loaded.
|
| 118 |
*/
|
| 119 |
-
do_action("ws_plugin__s2member_before_loaded");
|
| 120 |
/*
|
| 121 |
System configuraton.
|
| 122 |
*/
|
|
@@ -128,7 +128,7 @@ if (version_compare (PHP_VERSION, WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION, ">=") &&
|
|
| 128 |
/*
|
| 129 |
Hook after system config & Hooks are loaded.
|
| 130 |
*/
|
| 131 |
-
do_action("ws_plugin__s2member_config_hooks_loaded");
|
| 132 |
/*
|
| 133 |
Load a possible Pro module, if/when available.
|
| 134 |
*/
|
|
@@ -149,7 +149,7 @@ if (version_compare (PHP_VERSION, WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION, ">=") &&
|
|
| 149 |
/*
|
| 150 |
Hook after loaded.
|
| 151 |
*/
|
| 152 |
-
do_action("ws_plugin__s2member_after_loaded");
|
| 153 |
}
|
| 154 |
/*
|
| 155 |
Else NOT compatible. Do we need admin compatibility errors now?
|
| 19 |
*/
|
| 20 |
/* -- This section for WordPress® parsing. ------------------------------------------------------------------------------
|
| 21 |
|
| 22 |
+
Version: 111003
|
| 23 |
+
Stable tag: 111003
|
| 24 |
Framework: WS-P-110523
|
| 25 |
|
| 26 |
SSL Compatible: yes
|
| 65 |
|
| 66 |
-- end section for WordPress® parsing. ------------------------------------------------------------------------------- */
|
| 67 |
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
|
| 68 |
+
exit ("Do not access this file directly.");
|
| 69 |
/**
|
| 70 |
* The installed version of s2Member.
|
| 71 |
*
|
| 75 |
* @var str
|
| 76 |
*/
|
| 77 |
if (!defined ("WS_PLUGIN__S2MEMBER_VERSION"))
|
| 78 |
+
define ("WS_PLUGIN__S2MEMBER_VERSION", "111003");
|
| 79 |
/**
|
| 80 |
* Minimum PHP version required to run s2Member.
|
| 81 |
*
|
| 105 |
* @var str
|
| 106 |
*/
|
| 107 |
if (!defined ("WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION"))
|
| 108 |
+
define ("WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION", "111003");
|
| 109 |
/*
|
| 110 |
Several compatibility checks.
|
| 111 |
If all pass, load the s2Member plugin.
|
| 116 |
/*
|
| 117 |
Hook before loaded.
|
| 118 |
*/
|
| 119 |
+
do_action ("ws_plugin__s2member_before_loaded");
|
| 120 |
/*
|
| 121 |
System configuraton.
|
| 122 |
*/
|
| 128 |
/*
|
| 129 |
Hook after system config & Hooks are loaded.
|
| 130 |
*/
|
| 131 |
+
do_action ("ws_plugin__s2member_config_hooks_loaded");
|
| 132 |
/*
|
| 133 |
Load a possible Pro module, if/when available.
|
| 134 |
*/
|
| 149 |
/*
|
| 150 |
Hook after loaded.
|
| 151 |
*/
|
| 152 |
+
do_action ("ws_plugin__s2member_after_loaded");
|
| 153 |
}
|
| 154 |
/*
|
| 155 |
Else NOT compatible. Do we need admin compatibility errors now?
|
