- fixed privacy field for multilanguages;

- added upgrade script to make the metadata's format properly;
This commit is contained in:
nikitozzzzzzz
2018-08-02 09:32:43 +03:00
parent ad481b6edd
commit 3e0090e55b
5 changed files with 177 additions and 23 deletions
+2 -1
View File
@@ -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;
}