WP-Members 3.5.4 has been released. This version includes a few minor bug fixes, some new API functions, and some improvements to the WP CLI commands.
Bug Fixes
- Fixes a bug in the register form label HTML links (a feature upgrade in version 3.5.3)
- Fixes a bug that causes the [wpmem_field] shortcode setting to be reset when other settings are updated. Because this setting is on its own tab, the change may go unnoticed. (Only affects users who actually enable the [wpmem_field] shortcode, which is disabled by default.)
- Fixes a bug for maintaining the [wpmem_field] shortcode setting (disabled, partially enabled, fully endabled) when upgrade, especially from versions prior to 3.5.0.
- Fixes a bug for updating the stylesheet settings, especially if upgrading from versions prior to 3.5.0.
Other Changes
- Deprecated
select_style
which is actually no longer used since version 3.5.0. It is now removed from the settings completely. - Adds additional form support for the form field label links in forms other than the WP-Members registration form (native WP registration, WooCommerce forms, dashboard profile, and the [wpmem_field] shortcode output).
- Adds new API functions
wpmem_user_count()
,wpmem_get_user_count_by_meta()
,wpmem_get_user_count_by_role()
, andwpmem_csv_to_array()
- Improves the handling of radio field type display in the native WP registration form and the WooCommerce My Account registration form.
- Allows the use of WooCommerce native fields to be included in the WooCommerce My Account registration through the WP-Members Fields options table.
Updates to WP CLI Commands
- All @alias are now @subcommand. Essentially, any commands with an underscore that previously allowed with underscore or hyphen for the command name now is only hyphen. For example
wp mem user get_role
is nowwp mem user get-role
. - Improves and debugs the
wp mem improt memberships
command. - Improves and debugs the
wp mem membership
commands to add/update/delete user memberships via command line. - Adds import commands for activate, deactivate, confirm, and unconfirm users.
- WP CLI interface commands are no longer localized (translatable). This follows core WP as translating these commands was making the POT file unwieldy. Core WP does not translate the CLI, so the plugin is following that.