Skip to content
Snippets Groups Projects
Commit 9bb79a89 authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS

parent 45dbce83
No related branches found
No related tags found
1 merge request!13PHPCS fixes
Pipeline #1693 passed
...@@ -66,7 +66,7 @@ class ETH_Escape_HeadSpace2 { ...@@ -66,7 +66,7 @@ class ETH_Escape_HeadSpace2 {
); );
/** /**
* robots.txt keys. * Headspace's robots.txt keys.
* *
* @var array * @var array
*/ */
...@@ -245,8 +245,9 @@ class ETH_Escape_HeadSpace2 { ...@@ -245,8 +245,9 @@ class ETH_Escape_HeadSpace2 {
$output[] = $hs_data['_headspace_raw']; $output[] = $hs_data['_headspace_raw'];
} }
// Output whatever we've built // Output whatever we've built.
if ( ! empty( $output ) ) { if ( ! empty( $output ) ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo "\n<!-- Escape HeadSpace2 by Erick Hitter; https://ethitter.com/plugins/ -->\n" . implode( "\n", $output ) . "\n<!-- Escape HeadSpace2 -->\n"; echo "\n<!-- Escape HeadSpace2 by Erick Hitter; https://ethitter.com/plugins/ -->\n" . implode( "\n", $output ) . "\n<!-- Escape HeadSpace2 -->\n";
} }
} }
...@@ -258,6 +259,7 @@ class ETH_Escape_HeadSpace2 { ...@@ -258,6 +259,7 @@ class ETH_Escape_HeadSpace2 {
$output = get_post_meta( get_the_ID(), '_headspace_raw_footer', true ); $output = get_post_meta( get_the_ID(), '_headspace_raw_footer', true );
if ( ! empty( $output ) ) { if ( ! empty( $output ) ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo $output . "\n"; echo $output . "\n";
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment