mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- alpha version;
This commit is contained in:
@@ -2917,7 +2917,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$um_field_checkbox_item_title = $v;
|
||||
$option_value = $v;
|
||||
|
||||
if ( ! is_numeric( $k ) && in_array( $form_key, array( 'role' ) ) ) {
|
||||
if ( ! is_numeric( $k ) && in_array( $form_key, array( 'role' ) ) ||
|
||||
( $this->set_mode == 'account' || um_is_core_page( 'account' ) ) ) {
|
||||
$um_field_checkbox_item_title = $v;
|
||||
$option_value = $k;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user