From 43f1e3106e80c75bda9d57fedd100dfd71f54ea0 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 22 Sep 2023 09:08:46 +0200 Subject: [PATCH] CS/QA: always escape the complete value --- src/wordpress-plugin-features.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wordpress-plugin-features.php b/src/wordpress-plugin-features.php index 4026e56..7c66fcc 100644 --- a/src/wordpress-plugin-features.php +++ b/src/wordpress-plugin-features.php @@ -71,7 +71,7 @@ protected function get_plugin_features( WordPress_Plugin $plugin ) { static function ( $name, $feature ) { return \sprintf( ' ', - \esc_attr( $feature ) . '_button', + \esc_attr( $feature . '_button' ), \esc_attr( $feature ), \esc_html( $name ) );