Skip to content

Commit

Permalink
CS/QA: always escape the complete value
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 16, 2023
1 parent 6252373 commit 43f1e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wordpress-plugin-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function get_plugin_features( WordPress_Plugin $plugin ) {
static function ( $name, $feature ) {
return \sprintf(
'<button id="%s" name="%s" type="submit" class="button secondary">' . \esc_html__( 'Reset', 'yoast-test-helper' ) . ' %s</button> ',
\esc_attr( $feature ) . '_button',
\esc_attr( $feature . '_button' ),
\esc_attr( $feature ),
\esc_html( $name )
);
Expand Down

0 comments on commit 43f1e31

Please sign in to comment.