mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added "Show/hide password button" option;
This commit is contained in:
@@ -689,6 +689,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'use_um_gravatar_default_image' => array(
|
||||
'sanitize' => 'bool',
|
||||
),
|
||||
'toggle_password' => array(
|
||||
'sanitize' => 'bool',
|
||||
),
|
||||
'require_strongpass' => array(
|
||||
'sanitize' => 'bool',
|
||||
),
|
||||
@@ -1088,6 +1091,12 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'tooltip' => __( 'Do you want to use the plugin default avatar instead of the gravatar default photo (If the user did not upload a custom profile photo / avatar)', 'ultimate-member' ),
|
||||
'conditional' => array( 'use_um_gravatar_default_builtin_image', '=', 'default' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'toggle_password',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Show/hide password button', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Enable visibility for show/hide password button for the password field-type.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'require_strongpass',
|
||||
'type' => 'checkbox',
|
||||
|
||||
@@ -520,6 +520,7 @@ if ( ! class_exists( 'um\Config' ) ) {
|
||||
'use_gravatars' => 0,
|
||||
'use_um_gravatar_default_builtin_image' => 'default',
|
||||
'use_um_gravatar_default_image' => 0,
|
||||
'toggle_password' => false,
|
||||
'require_strongpass' => 0,
|
||||
'password_min_chars' => 8,
|
||||
'password_max_chars' => 30,
|
||||
|
||||
@@ -171,6 +171,7 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI
|
||||
* Enhancements:
|
||||
|
||||
- Added: Compatibility with UM:Stripe extension
|
||||
- Added: Show/hide password button for toggle password visibility
|
||||
|
||||
* Bugfixes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user