Skip to content

Commit

Permalink
escape_attr on title attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Oct 26, 2016
1 parent bd67cbd commit 8d4a20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CMB2.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public function render_group_row( $field_group, $remove_disabled ) {
<div class="postbox cmb-row cmb-repeatable-grouping', $closed_class, '" data-iterator="', $field_group->index, '">';

if ( $field_group->args( 'repeatable' ) ) {
echo '<button type="button" ', $remove_disabled, 'data-selector="', $field_group->id(), '_repeat" class="dashicons-before dashicons-no-alt cmb-remove-group-row" title="', $field_group->options( 'remove_button' ), '"></button>';
echo '<button type="button" ', $remove_disabled, 'data-selector="', $field_group->id(), '_repeat" class="dashicons-before dashicons-no-alt cmb-remove-group-row" title="', esc_attr( $field_group->options( 'remove_button' ) ), '"></button>';
}

echo '
Expand Down

0 comments on commit 8d4a20a

Please sign in to comment.