diff --git a/admin/admin.php b/admin/admin.php index 84d14e8..e3886a8 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -260,9 +260,14 @@ public function config_page() { if ( \defined( 'WP_DEBUG' ) && \WP_DEBUG ) { echo '

', \esc_html__( 'Options debug', 'yoast-comment-hacks' ), '

'; echo '
'; - // @codingStandardsIgnoreStart - echo str_replace( '', '', highlight_string( "options = " . var_export( $this->options, true ) . ';', true ), $num ); - // @codingStandardsIgnoreEnd + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Debug output. + echo \str_replace( + '', + '', + // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export -- This is only shown in debug mode. + \highlight_string( "options = " . \var_export( $this->options, true ) . ';', true ), + $num + ); echo '
'; } }