Skip to content

Commit

Permalink
Remove unwanted code #922
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Aug 16, 2022
1 parent 5bbb35d commit 93958c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Visualizer/Module/Frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ private function getHtmlAttributes( $attributes ) {
if ( ! $attributes ) {
return $string;
}
$attributes = apply_filters( 'visualizer_schema_show_errors', $attributes );

foreach ( $attributes as $name => $value ) {
$string .= sprintf( ' %s="%s"', esc_attr( $name ), esc_attr( $value ) );
}
Expand Down

0 comments on commit 93958c4

Please sign in to comment.