mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- prepared for 2.4.0 release;
This commit is contained in:
@@ -763,6 +763,12 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'blocked_words' => array(
|
||||
'sanitize' => 'textarea',
|
||||
),
|
||||
'allowed_choice_callbacks' => array(
|
||||
'sanitize' => 'textarea',
|
||||
),
|
||||
'allow_url_redirect_confirm' => array(
|
||||
'sanitize' => 'bool',
|
||||
),
|
||||
'admin_email' => array(
|
||||
'sanitize' => 'text',
|
||||
),
|
||||
@@ -1289,6 +1295,18 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'label' => __( 'Blacklist Words (Enter one word per line)', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This option lets you specify blacklist of words to prevent anyone from signing up with such a word as their username', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'allowed_choice_callbacks',
|
||||
'type' => 'textarea',
|
||||
'label' => __( 'Allowed Choice Callbacks (Enter one PHP function per line)', 'ultimate-member' ),
|
||||
'tooltip' => __( 'This option lets you specify the choice callback functions to prevent anyone from using 3rd-party functions that may put your site at risk.', 'ultimate-member' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'allow_url_redirect_confirm',
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Allow external link redirect confirm', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Using JS.confirm alert when you go to an external link.', 'ultimate-member' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user