WP-Members 3.3.3 will be released this week. This version is an improvement release on 3.3. Most of the changes are not “bug fixes,” per se, but rather code improvements to clean up some processes that render results that could be better handled.
If WooCommerce is active, any standard WC user meta fields are removed from the WP-Members additional fields section in the User Profile edit screen since they already display in the WooCommerce field blocks.
When setting hidden posts, the plugin will no longer include posts from post types not specifically handled by WP-Members. This prevents previously hidden posts from being included if the post type is no longer managed by WP-Members.
The activation/deactivation process was updated so that a user cannot activate or deactivate themselves. When moderated registration is enabled, the plugin automatically sets the current user as activated to prevent lockout. This has always been the case. But there was a possibility of accidentally deactivating the current user. This improvement prevents an admin from inadvertently locking themselves out by deactivating their account.
If a user has “edit_users” capability (i.e. administrators in default WP, or any custom role that has manually been assigned this capability), a user can log in without needing to be being activated. This prevents the need to activate your users who can already manage users.
WordPress 5.4 finally incorporates the custom
wp_nav_menu_item_custom_fields action hook. So WP-Members will only load its custom walker class if WP is 5.3 or lower.
The plugin now loads the email “from” address with the main settings. When the new email object class was developed in 3.3, this only loaded if the WP-Members email function was being triggered. But this caused some problems with external integrations if the “from” address was expected (such as applying the custom WP-Members email filters to
wp_mail()). It also made the “from” field in the Emails tab empty even if the value was saved in the db. This change cleans this up and solves the problem of using the custom “from” address outside the WP-Members email functions.
Adds a property to membership products to indicate that a product should be selected by default when creating a new post/page. This was a feature requested by plugin users. This is a general improvement if you use membership products and most of them are always set to a specific product. Now you can start your post with a specified membership pre-selected so you don’t have to remember to set it.