From 723e8f26392c8fb571d63f3a5b3937b8521412d5 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 19 Feb 2022 14:45:27 -0800 Subject: [PATCH] PHPCS --- external-permalinks-redux.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external-permalinks-redux.php b/external-permalinks-redux.php index 1fa9b06..b3a194d 100644 --- a/external-permalinks-redux.php +++ b/external-permalinks-redux.php @@ -149,7 +149,7 @@ class external_permalinks_redux { foreach ( $this->status_codes as $status_code => $explanation ) { echo '<option value="' . esc_attr( $status_code ) . '"'; selected( $status_code, (int) $type ); - echo '>' . esc_attr( $explanation ) . '</option>'; + echo '>' . esc_html( $explanation ) . '</option>'; } ?> </select> -- GitLab