WP-Members 3.4.4 is primarily a maintenance release. It incorporates a series of minor changes since 3.4.3 along with some additional code improvements for performance and fixing some minor issues.
Continue Reading →WP-Members 3.4.4
Home of WP-Members, The Original WordPress Membership Plugin
Chad Butler · ·
WP-Members 3.4.4 is primarily a maintenance release. It incorporates a series of minor changes since 3.4.3 along with some additional code improvements for performance and fixing some minor issues.
Continue Reading →Chad Butler · ·
WP-Members 3.4.3 contains a couple of bug fixes and some minor improvments.
Continue Reading →Chad Butler · ·
WP-Members 3.4.2 has been released with a number of updates, fixes and new features.
First, this package includes all intermediate updates since 3.4.1:
Additionally, the following fixes were applied:
The custom product message was improved for non-logged in users (same function is used by both logged in and logged out processes, so this cleans things up to handle both states the same way).
Some code improvements, including additional information passed to filters were added. There were also some new API functions.
Lastly, the plugin has received a new installer/updater class intended to improve the upgrade process. This includes some diagnostic tracking features. When you install or update, you’ll notice a message that allows you to opt into diagnostic tracking and security/update notifications. This is a very important feature for the plugin as it gives insight into how the plugin is used, as well as allowing us to provide more information to the plugin’s users when we update. It does not transmit any private information and none of the information is ever shared with third parties. You can opt in/out at any time. If you have questions, let me know.
This package update includes all of the 3.4.2 updates plus the following:
wpmem_export_users()
. However, if you call it from the object (which is not recommended – you should use the API function), then you need to note this change.init
action. This solves a problem for plugin extensions that rely on the wpmem_after_admin_init
action. If you used one of the most recent versions with the Invite Codes extension and received a PHP error on the front end of the site, this is the fix.This version fixes an issue with the password reset. The cause of the problem is unknown specifically, but if you were experiencing issues with the password reset going through to completion and at the end received an error that the key was invalid, this update should resolve that problem.
This release also includes a new email shortcode for the admin notification that will list user memberships – add [memberships] to the admin notification email for this.
Beginning in plugin version 3.3.0, the plugin began shifting to a new password reset that would email a password reset link to the user, allowing them to then set a new password. This became the default in version 3.4.0. In version 3.5.0, the old legacy password reset is obsolete.
Fresh installs of version 3.4.x incorporated the new password reset as the default, so if the first install of the plugin as 3.4.0 or higher, then you do not need to do anything.
For versions upgrading from 3.3.9 or earlier, you will need to make a couple of changes to incorporate the new password reset.
To update the Password Reset Email content, note that the plugin no longer creates and emails a password, so you need to remove the password shortcode from that email (as it will be empty anyway). You are not required to include the password link shortcode ([reset_link]) as it will be included automatically at the end of the message. However, use [reset_link] if you want to place the reset link in a specific location in the message.
By way of example, the new default message that the plugin installs is the following:
A password reset was requested for [blogname].
Follow the link below to reset your password: [reset_link]
If you did not request a password reset for [blogname], simply ignore this message and the reset key will expire.
Filters the generated HTML of the login widget’s login form.
$html
(string)(required) The HTML for the login widget form
add_filter( 'wpmem_login_widget_form', 'my_login_widget_form' ); function my_login_widget_form( $html ) { // $html is a string of HTML for the form. // Do what you need to do to change it and return the result. return $html; }
Introduced in 3.3.9
wpmem_login_widget_form is located in includes/class-wp-members-widget.php
Ready to get started?