Skip to content

Commit

Permalink
Move xss ok comment to the correct line
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejarrett committed May 6, 2014
1 parent 843b41b commit 834d591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,10 @@ public function frontend_indicator() {
*
* @return string $comment The content of the HTML comment
*/
$comment = apply_filters( 'wp_stream_frontend_indicator', $comment ); // xss ok
$comment = apply_filters( 'wp_stream_frontend_indicator', $comment );

if ( ! empty( $comment ) ) {
echo sprintf( "<!-- %s -->\n", esc_html( $comment ) );
echo sprintf( "<!-- %s -->\n", esc_html( $comment ) ); // xss ok
}

return;
Expand Down

0 comments on commit 834d591

Please sign in to comment.