Skip to content

Commit

Permalink
PHPCS: add reason to whitelist comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 12, 2019
1 parent 7a3356c commit 43c4baf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/views/config-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@
array(
'depth' => 0,
'id' => 'redirect_page',
'name' => $yoast_comment_option_name . '[redirect_page]', // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
// phpcs:ignore WordPress.Security.EscapeOutput -- This is a hard-coded string, just passed around as a variable.
'name' => $yoast_comment_option_name . '[redirect_page]',
'option_none_value' => 0,
'selected' => ( isset( $this->options['redirect_page'] ) ? (int) $this->options['redirect_page'] : 0 ),
'show_option_none' => esc_html__( 'Don\'t redirect first time commenters', 'yoast-comment-hacks' ),
Expand Down

0 comments on commit 43c4baf

Please sign in to comment.