s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) - Version 120703

Version Description

= v120703 = Maintenance release. Upgrade immediately.

Download this release

Release Info

Developer PriMoThemes
Plugin Icon 128x128 s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members)
Version 120703
Comparing to
See all releases

Code changes from version 120622 to 120703

includes/menu-pages/scripting.inc.php CHANGED
@@ -329,7 +329,7 @@ if (!class_exists ("c_ws_plugin__s2member_menu_page_scripting"))
329
echo '<p>Custom Capabilities are an extension to a feature that already exists in WordPress®. The <code>current_user_can()</code> function, can be used to test for these additional Capabilities that you allow. Whenever a Member completes the checkout process, after having purchased a Membership from you ( one that included Custom Capabilities ), s2Member will add those Custom Capabilities to the account for that specific Member.</p>' . "\n";
330
echo '<p>Custom Capabilities are always prepended with <code>access_s2member_ccap_</code>. You fill in the last part, with ONLY lowercase alpha-numerics and/or underscores. For example, let\'s say you want to sell Membership Level #1, as is. But, you also want to sell a slight variation of Membership Level #1, that includes the ability to access the Music &amp; Video sections of your site. So, instead of selling this additional access under a whole new Membership Level, you could just sell a modified version of Membership Level #1. Add the the Custom Capabilities: <code>music,videos</code>. Once a Member has these Capabilities, you can test for these Capabilities using <code>current_user_can("access_s2member_ccap_music")</code> and <code>current_user_can("access_s2member_ccap_videos")</code>.</p>' . "\n";
331
echo '<p>The important thing to realize, is that Custom Capabilities, are just that. They\'re custom. s2Member only deals with the default Capabilities that it uses. If you start using Custom Capabilities, you MUST use Simple or Advanced Conditionals ( <em>i.e. <code>current_user_can()</code> logic</em> ) to test for them. Either in your theme files with PHP, or in Posts/Pages using Simple Conditionals <em>( powered by Shortcodes )</em>.</p>' . "\n";
332
- echo '<p><strong>*New*</strong> Starting with s2Member v3.2+, you can now tell s2Member to require certain Custom Capabilities on a per Post/Page basis. So now, s2Member <em>( if you prefer )</em> CAN handle Custom Capabilities for you automatically! Whenever you edit a Post/Page, you can tell s2Member <em>( i.e. there is a Meta Box for s2Member in your Post/Page editing station )</em>... you can tell s2Member to require certain Custom Capabilities that you type in, using comma-delimited format. In other words, you will need to type in some of the trigger words that you used whenever you created your Payment Buttons/Forms. This way paying Members will have the Custom Capabilities to view different kinds of content that you offer.</p>' . "\n";
333
echo '<p><strong>*New*</strong> By default, a Checkout Button or Form generated by s2Member is designed to (Add) Custom Capabilities to any that may or may not already exist for a particular User/Member. However, starting with s2Member v110815+, you can tell s2Member to (Remove All) Custom Capabilities, and then (Add) only the new ones that you specify. This is accomplished on a per Form/Button basis by preceding your comma-delimited list of Custom Capabilities with `-all`. For further details on this topic, click the <a href="#" onclick="alert(\'*ADVANCED TIP: You can specifiy a list of Custom Capabilities that will be (Added) with this purchase. Or, you could tell s2Member to (Remove All) Custom Capabilities that may or may not already exist for a particular Member, and (Add) only the new ones that you specify. To do this, just start your list of Custom Capabilities with `-all`.\\n\\nSo instead of just (Adding) Custom Capabilities:\\nmusic,videos,archives,gifts\\n\\nYou could (Remove All) that may already exist, and then (Add) new ones:\\n-all,calendar,forums,tools\\n\\nOr to just (Remove All) and (Add) nothing:\\n-all\'); return false;" tabindex="-1">[?]</a> icon next to the Custom Capabilities field in any Button/Form Generator supplied by s2Member.</p>' . "\n";
334
echo '<p><strong>*New*</strong> Independent Custom Capabilities. You can now sell one or more Custom Capabilities using Buy Now functionality, to "existing" Users/Members, regardless of which Membership Level they have on your site <em>( i.e. you could even sell Independent Custom Capabilities to Users at Membership Level #0, normally referred to as Free Subscribers, if you like )</em>. So this is quite flexible. For further details, please check your Dashboard, under: <code>s2Member -> PayPal® Buttons -> Capability (Buy Now) Buttons</code>.</p>' . "\n";
335
do_action ("ws_plugin__s2member_during_scripting_page_during_left_sections_during_custom_capabilities", get_defined_vars ());
329
echo '<p>Custom Capabilities are an extension to a feature that already exists in WordPress®. The <code>current_user_can()</code> function, can be used to test for these additional Capabilities that you allow. Whenever a Member completes the checkout process, after having purchased a Membership from you ( one that included Custom Capabilities ), s2Member will add those Custom Capabilities to the account for that specific Member.</p>' . "\n";
330
echo '<p>Custom Capabilities are always prepended with <code>access_s2member_ccap_</code>. You fill in the last part, with ONLY lowercase alpha-numerics and/or underscores. For example, let\'s say you want to sell Membership Level #1, as is. But, you also want to sell a slight variation of Membership Level #1, that includes the ability to access the Music &amp; Video sections of your site. So, instead of selling this additional access under a whole new Membership Level, you could just sell a modified version of Membership Level #1. Add the the Custom Capabilities: <code>music,videos</code>. Once a Member has these Capabilities, you can test for these Capabilities using <code>current_user_can("access_s2member_ccap_music")</code> and <code>current_user_can("access_s2member_ccap_videos")</code>.</p>' . "\n";
331
echo '<p>The important thing to realize, is that Custom Capabilities, are just that. They\'re custom. s2Member only deals with the default Capabilities that it uses. If you start using Custom Capabilities, you MUST use Simple or Advanced Conditionals ( <em>i.e. <code>current_user_can()</code> logic</em> ) to test for them. Either in your theme files with PHP, or in Posts/Pages using Simple Conditionals <em>( powered by Shortcodes )</em>.</p>' . "\n";
332
+ echo '<p><strong>*New*</strong> In the latest versions of s2Member®, you can automatically require certain Custom Capabilities on a per Post/Page basis. So now, s2Member® <em>( if you prefer )</em> CAN handle Custom Capabilities for you automatically! Whenever you edit a Post/Page <em>( i.e. there is a Meta Box for s2Member in your Post/Page editing station )</em>... you can tell s2Member® to require certain Custom Capabilities that you type in, using comma-delimited format. In other words, you will need to type in some of the trigger words that you used whenever you created your Payment Buttons/Forms. This way paying Members will have the Custom Capabilities to view different kinds of content that you offer.</p>' . "\n";
333
echo '<p><strong>*New*</strong> By default, a Checkout Button or Form generated by s2Member is designed to (Add) Custom Capabilities to any that may or may not already exist for a particular User/Member. However, starting with s2Member v110815+, you can tell s2Member to (Remove All) Custom Capabilities, and then (Add) only the new ones that you specify. This is accomplished on a per Form/Button basis by preceding your comma-delimited list of Custom Capabilities with `-all`. For further details on this topic, click the <a href="#" onclick="alert(\'*ADVANCED TIP: You can specifiy a list of Custom Capabilities that will be (Added) with this purchase. Or, you could tell s2Member to (Remove All) Custom Capabilities that may or may not already exist for a particular Member, and (Add) only the new ones that you specify. To do this, just start your list of Custom Capabilities with `-all`.\\n\\nSo instead of just (Adding) Custom Capabilities:\\nmusic,videos,archives,gifts\\n\\nYou could (Remove All) that may already exist, and then (Add) new ones:\\n-all,calendar,forums,tools\\n\\nOr to just (Remove All) and (Add) nothing:\\n-all\'); return false;" tabindex="-1">[?]</a> icon next to the Custom Capabilities field in any Button/Form Generator supplied by s2Member.</p>' . "\n";
334
echo '<p><strong>*New*</strong> Independent Custom Capabilities. You can now sell one or more Custom Capabilities using Buy Now functionality, to "existing" Users/Members, regardless of which Membership Level they have on your site <em>( i.e. you could even sell Independent Custom Capabilities to Users at Membership Level #0, normally referred to as Free Subscribers, if you like )</em>. So this is quite flexible. For further details, please check your Dashboard, under: <code>s2Member -> PayPal® Buttons -> Capability (Buy Now) Buttons</code>.</p>' . "\n";
335
do_action ("ws_plugin__s2member_during_scripting_page_during_left_sections_during_custom_capabilities", get_defined_vars ());
includes/translations/s2member.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the same license as the s2Member® Framework package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: s2Member® Framework 120608\n"
6
"Report-Msgid-Bugs-To: http://wordpress.org/tag/___s2member\n"
7
- "POT-Creation-Date: 2012-06-22 18:32:29+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
@@ -2466,8 +2466,8 @@ msgstr ""
2466
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:580
2467
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:291
2468
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:614
2469
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:333
2470
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:664
2471
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:422
2472
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:850
2473
msgctxt "s2member-front"
@@ -2478,8 +2478,8 @@ msgstr ""
2478
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:696
2479
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:453
2480
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:766
2481
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:503
2482
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:816
2483
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:684
2484
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1002
2485
msgctxt "s2member-front"
@@ -2496,10 +2496,10 @@ msgstr ""
2496
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:483
2497
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:775
2498
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:796
2499
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:512
2500
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:533
2501
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:825
2502
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:846
2503
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:693
2504
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:714
2505
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1011
@@ -2514,8 +2514,8 @@ msgstr ""
2514
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:717
2515
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:474
2516
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:787
2517
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:524
2518
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:837
2519
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:705
2520
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1023
2521
msgctxt "s2member-front"
@@ -2524,7 +2524,7 @@ msgstr ""
2524
2525
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:737
2526
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:807
2527
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:857
2528
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1043
2529
#: s2member-pro/includes/classes/gateways/paypal/paypal-update-pf-in.inc.php:138
2530
msgctxt "s2member-front"
@@ -3595,8 +3595,8 @@ msgstr ""
3595
3596
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:303
3597
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:626
3598
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:345
3599
- #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:676
3600
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:439
3601
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:862
3602
msgctxt "s2member-front"
2
# This file is distributed under the same license as the s2Member® Framework package.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: s2Member® Framework 120622\n"
6
"Report-Msgid-Bugs-To: http://wordpress.org/tag/___s2member\n"
7
+ "POT-Creation-Date: 2012-07-03 20:54:11+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
2466
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:580
2467
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:291
2468
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:614
2469
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:334
2470
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:666
2471
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:422
2472
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:850
2473
msgctxt "s2member-front"
2478
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:696
2479
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:453
2480
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:766
2481
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:505
2482
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:818
2483
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:684
2484
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1002
2485
msgctxt "s2member-front"
2496
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:483
2497
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:775
2498
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:796
2499
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:514
2500
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:535
2501
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:827
2502
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:848
2503
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:693
2504
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:714
2505
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1011
2514
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:717
2515
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:474
2516
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:787
2517
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:526
2518
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:839
2519
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:705
2520
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1023
2521
msgctxt "s2member-front"
2524
2525
#: s2member-pro/includes/classes/gateways/authnet/authnet-checkout-in.inc.php:737
2526
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:807
2527
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:859
2528
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:1043
2529
#: s2member-pro/includes/classes/gateways/paypal/paypal-update-pf-in.inc.php:138
2530
msgctxt "s2member-front"
3595
3596
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:303
3597
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php:626
3598
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:346
3599
+ #: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-pf-in.inc.php:678
3600
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:439
3601
#: s2member-pro/includes/classes/gateways/paypal/paypal-checkout-rdp-in.inc.php:862
3602
msgctxt "s2member-front"
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
=== s2Member® Framework (Member Roles, Capabilities, Membership, PayPal Members) ===
2
3
- Version: 120622
4
- Stable tag: 120622
5
6
SSL Compatible: yes
7
bbPress® Compatible: yes
@@ -91,11 +91,16 @@ Please see [this FAQ entry](http://www.s2member.com/faqs/#s2-faqs-translations)
91
92
== Upgrade Notice ==
93
94
- = v120622 =
95
Maintenance release. Upgrade immediately.
96
97
== Changelog ==
98
99
= v120622 =
100
* **(Maintenance Release) Upgrade immediately.**
101
* (s2Member/s2Member Pro) **WordPress® v3.4**. Confirmed compatibility with WordPress® v3.4.
1
=== s2Member® Framework (Member Roles, Capabilities, Membership, PayPal Members) ===
2
3
+ Version: 120703
4
+ Stable tag: 120703
5
6
SSL Compatible: yes
7
bbPress® Compatible: yes
91
92
== Upgrade Notice ==
93
94
+ = v120703 =
95
Maintenance release. Upgrade immediately.
96
97
== Changelog ==
98
99
+ = v120703 =
100
+ * **(Maintenance Release) Upgrade immediately.**
101
+ * (s2Member/s2Member Pro) **Payflow® Express Checkout**. An issue related to Express Checkout (when using the Payflow® API), has been corrected in this release. A bug in previous releases, was causing error messages under certain circumstances that read `Field format error: Invalid PayerID`.
102
+ * (s2Member/s2Member Pro) **WordPress® v3.4**. Standards compliance. Routine maintenance. Re-confirmed compatibility with WordPress® v3.4.
103
+
104
= v120622 =
105
* **(Maintenance Release) Upgrade immediately.**
106
* (s2Member/s2Member Pro) **WordPress® v3.4**. Confirmed compatibility with WordPress® v3.4.
s2member.php CHANGED
@@ -19,8 +19,8 @@
19
*/
20
/* -- This section for WordPress® parsing. ------------------------------------------------------------------------------
21
22
- Version: 120622
23
- Stable tag: 120622
24
25
SSL Compatible: yes
26
bbPress® Compatible: yes
@@ -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", "120622" /* !#distro-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", "120622" /* !#distro-version#! */);
109
/*
110
Several compatibility checks.
111
If all pass, load the s2Member plugin.
19
*/
20
/* -- This section for WordPress® parsing. ------------------------------------------------------------------------------
21
22
+ Version: 120703
23
+ Stable tag: 120703
24
25
SSL Compatible: yes
26
bbPress® Compatible: yes
75
* @var str
76
*/
77
if(!defined("WS_PLUGIN__S2MEMBER_VERSION"))
78
+ define("WS_PLUGIN__S2MEMBER_VERSION", "120703" /* !#distro-version#! */);
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", "120703" /* !#distro-version#! */);
109
/*
110
Several compatibility checks.
111
If all pass, load the s2Member plugin.