Skip to content

Commit fa42635

Browse files
authored
Add missing esc_html
1 parent d7f3f51 commit fa42635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/properties/class-papi-property-group.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function html() {
6363
echo '<br />';
6464
}
6565

66-
echo '<div class="papi-property-group" data-papi-rule="' . $this->html_name() . '">';
66+
echo '<div class="papi-property-group" data-papi-rule="' . esc_html( $this->html_name() ) . '">';
6767
papi_render_properties( $properties );
6868
echo '</div>';
6969
}

0 commit comments

Comments
 (0)