Closes #9065
This commit is contained in:
Mike Jolley 2015-09-07 13:26:41 +01:00
parent 174967dd6b
commit bf0cb28d36
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1793,7 +1793,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) {
$field_html .= $field;
if ( $args['description'] ) {
$field_html .= '<span class="description">' . esc_attr( $args['description'] ) . '</span>';
$field_html .= '<span class="description">' . esc_html( $args['description'] ) . '</span>';
}
$container_class = 'form-row ' . esc_attr( implode( ' ', $args['class'] ) );