mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed privacy field for multilanguages;
- added upgrade script to make the metadata's format properly;
This commit is contained in:
@@ -2582,7 +2582,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$um_field_checkbox_item_title = $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' ) ) ) {
|
||||
$option_value = $k;
|
||||
$um_field_checkbox_item_title = $v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user