- fixed escape attrs;

This commit is contained in:
nikitasinelnikov
2019-08-08 13:36:06 +03:00
parent f16a6c99ff
commit d27101bced
4 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
$label = apply_filters( 'um_edit_label_all_fields', $label, $data );
}
$output .= '<label for="' . esc_attr( $key . UM()->form()->form_suffix ) . '">' . esc_html__( $label, 'ultimate-member' ) . '</label>';
$output .= '<label for="' . esc_attr( $key . UM()->form()->form_suffix ) . '">' . __( $label, 'ultimate-member' ) . '</label>';
if ( ! empty( $data['help'] ) && $this->viewing == false && ! strstr( $key, 'confirm_user_pass' ) ) {