Skip to content

Commit

Permalink
Fixed an issue with the "for" attribute on the Edit Artist term screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Terry committed Aug 13, 2017
1 parent 8d28f8a commit ec6fc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function dz_edit_term_field_text( $label, $meta_key, $term_id ) {
$value = get_term_meta( $term_id, $meta_key, true ); ?>
<tr class="form-field term-group-wrap">
<th scope="row">
<label for="twitter_url"><?php esc_html_e( $label ); ?></label>
<label for="<?php esc_attr_e( $meta_key ); ?>"><?php esc_html_e( $label ); ?></label>
</th>
<td>
<input type="text" id="<?php esc_attr_e( $meta_key ); ?>" name="<?php esc_attr_e( $meta_key ); ?>" value="<?php esc_attr_e( $value ); ?>" />
Expand Down

0 comments on commit ec6fc83

Please sign in to comment.