Version 3.1.3 of the plugin has been released. This version is primarily a fix and functional improvement release that also begins to lay the ground work for some larger changes planned for the 3.1 lifecycle.
Note: there was an issue with the initial package that was missing a file (/admin/includes/api.php). Only the first few hundred downloads were affected before this was reported and rectified. If you downloaded between 7:00pm and 9:00pm US Central time, that may affect you. If you notice an issue in the WP admin that references this missing file, then downloading 220.127.116.11 will resolve it.
Fixes and Updates
An update in the 3.1.2 release caused a problem with the [[wp-members field=”meta_key”]] shortcode not display the field data. This is a deprecated shortcode and should be updated to [wpmem_field field="meta_key"] anyway, but this update resolves the issue.
This version fixes an issue that when the PayPal extension is installed, activated, configured, and then disabled as a plugin without being turned off in the plugin’s main options, some functions were being called and not found (which could yield errors). This issue has been resolved in 3.1.3.
Updated some admin-side strings for translation.
Updated the API function wpmem_redirect_to_login() to NOT check wpmem_is_blocked(). This check should actually be handled outside of this function and just let the function handle redirection. Removing this check allows this function to be used on non-page/post URLs such as archives, etc or content that is not specifically set as blocked.
Updated the ‘row_after’ logic in the login form function which allows this key in the wpmem_login_form_args filter to be used to add tags without there needing to be an opening tag in the ‘row_before’ key (useful for adding a complete tag at the end of the row such as <div class=”clear”></div>).
Updated the widget function to check for wpmem_do_sidebar() instead of wpmem() which is now a deprecated function.
Updated the email shortcodes set for default email content used in a new install.
Added new utility function wpmem_get() for checking posted variables and query strings and setting a default value.
Added a nonce to the register redirect by shortcode parameter. This will lead to being able to display a success message on the redirected page – something that was previously lost if the user was redirected on registration.
Added a redirect_to argument to the wpmem_redirect_to_login() function. This is for overriding the default redirect that would bring the user back to the original page when they were sent to the login page.
Added a generic registration error message for use with non-specific errors.