s2Member V161129 (Framework and Pro) comes with fixing 4 bugs, improved SSL compatibility, improved IP detection (Including Improved compatibility with sites using Cloudflare), and an improvement to the s2Member Pro Remote Operations API which now sends & received JSON. It is recommended to all users that they must update s2Member (Framework and Pro) to the latest version as soon as possible.
By using s2Member Plugin, you can protect your WordPress posts, pages, tags, categories, URIs, BuddyPress/bbpress, and even portions of content within Posts, Pages, themes, plugins. The good thing about the s2Member plugin is that it can be easily configured and you can protect downloadable files, streaming audio/video. Above all, you can store files locally or you can use s2Member Integration with Amazon.
Below you can find the number of changes made in the latest version of s2Member (Framework and Pro).
Unified Changelog for s2Member & s2Member Pro v161129 – What’s New?
- (s2Member Pro) Bug Fix: Stripe refund notifications via the Stripe Webhook were always interpreted by s2Member as full refunds. This release corrects this bug so that s2Member will handle partial refunds via the Stripe API properly in all cases. Props @raamdev for reporting.
- (s2Member/s2Member Pro) Bug Fix: Updating profile via
[s2Member-Profile /]
when changing email addresses may leave the old email address on configured email list servers in some scenarios. Props @renzms for reporting. For further details see issue #1007. - (s2Member/s2Member Pro) SSL Compatibility & Option Deprecation: In previous versions of s2Member there was a setting in the UI that allowed you to force non-SSL redirects to the Login Welcome Page. By popular demand, this setting has been deprecated and removed from the UI.New Approach: The new approach taken in the latest release of s2Member is to automatically detect when a non-SSL redirection should occur, and when it should not occur (i.e., when the default WordPress core behavior should remain as-is).s2Member does this by looking at the
FORCE_SSL_LOGIN
andFORCE_SSL_ADMIN
settings in WordPress, and also at your configuredsiteurl
option in WordPress. If you are not forcing SSL logins, or yoursiteurl
begins withhttps://
(indicating that your entire site is served over SSL), non-SSL redirects will no longer be forced by s2Member, which resolves problems on many sites that serve their entire site over SSL (a growing trend over the past couple years).Conversely, ifFORCE_SSL_LOGIN
orFORCE_SSL_ADMIN
are true, and your configuredsiteurl
option in WordPress does NOT begin withhttps://
(e.g., just plainhttp://
), then a non-SSL redirect is forced, as necessary, in order to avoid login cookie conflicts; i.e., the old behavior is preserved by this automatic detection.Overall, this new approach improves compatibility with WordPress core, particularly on sites that serve all of their pages overhttps://
(as recommended by Google).Backward Compatibility: As noted previously, the old option that allowed you to configure s2Member to force non-SSL redirects to the Login Welcome Page has been officially deprecated and removed from the UI. However, the old option does still exist internally, but only for backward compatibility. A WordPress filter is exposed that allows developers to alter the old setting if necessary. You can use the filter to force atrue
orfalse
value.<?php add_filter('ws_plugin__s2member_login_redirection_always_http', '__return_true'); // OR add_filter('ws_plugin__s2member_login_redirection_always_http', '__return_false');
- (s2Member/s2Member Pro) Bug Fix: Username/password email being sent to users whenever Custom Passwords are enabled in your s2Member configuration and registration occurs via the default
wp-login.php?action=register
form. Fixed in this release. See also: issue #870 if you’d like additional details. - (s2Member Pro) Bug Fix: In the
[s2Member-List /]
search box shortcode an emptyaction=""
attribute produces a warning due to invalid syntax in HTML v5. Fixed in this release. See Issue #1006 - (s2Member/s2Member Pro) IP Detection: This release improves s2Member’s ability to determine the current user’s IP address. s2Member now searches through
HTTP_CF_CONNECTING_IP
,HTTP_CLIENT_IP
,HTTP_X_FORWARDED_FOR
,HTTP_X_FORWARDED
,HTTP_X_CLUSTER_CLIENT_IP
,HTTP_FORWARDED_FOR
,HTTP_FORWARDED
,HTTP_VIA
, andREMOTE_ADDR
(in that order) to locate the first valid public IP address. Either IPv4 or IPv6. Among other things, this improves s2Member’s compatibility with sites using CloudFlare. See also: issue #526 if you’d like additional details. - (s2Member Pro) JSON API: In the pro version it is now possible to use the s2Member Pro Remote Operations API to send and receive JSON input/output. This makes the Remote Operations API in s2Member compatible with a variety of scripting languages, not just PHP; i.e., prior to this release the Remote Operations API required that you always use PHP’s
serialize()
andunserialize()
functions when making API calls. The use ofserialize()
andunserialize()
are no longer a requirement since input/output data is now sent and received in the more portable JSON format. For new code samples, please see: WordPress Dashboard → s2Member → API / Scripting → Pro API For Remote Operations. See also: issue #987 if you’d like additional details on this change.Note: The old s2Member Pro Remote Operations API has been deprecated but will continue to function just like before (viaserialize()
andunserialize()
) for the foreseeable future. Moving forward, we recommend the new JSON code samples. Again, you will find those under: WordPress Dashboard → s2Member → API / Scripting → Pro API For Remote Operations - (s2Member/s2Member Pro) Enforce data types when determining PHP constants. See this GitHub issue if you’d like further details.
- (s2Member/s2Member Pro) Phing Build Routines: Starting with this release, developers working on the s2Member project are now able to perform builds of the software via the
websharks/phings
project; i.e., the structure of the plugin directories has been changed (slightly) to conform to Phing and PSR4 standards. This makes it easier for our developers to prepare and release new versions of the software in the future.
All these changes and regular updates make s2Member a powerful membership plugin for WordPress. For your information, the s2Member is powered by WordPress shortcakes, making complex integrations quick & easy. The s2Member integrates with Stripe, PayPal Standard, PayPal Pro, Authorize.net, and ClickBank too. All this and many more features make s2Member a must have plugin while creating secured membership website in no time. If you own the plugin, then update it right now and if you do not own s2Member Plugin, then you can purchase it by following the link below:
Buy s2Member – Powerful Membership Plugin for WordPress
If you have any query let me know via comments!
Leave a Reply