Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
add escape functions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanobartoletti committed Mar 8, 2022
1 parent 59439c7 commit a9997b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/sections/home-hero.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

<div class="col-12 text-center">

<h1><?php echo get_bloginfo( 'name' ); ?></h1>
<h1><?php echo esc_html( get_bloginfo( 'name' ) ); ?></h1>

<hr class="border border-light mx-auto mt-0 w-25 opacity-50" />

</div>

<div class="col-12 col-md-6">

<p class="h4"><?php echo get_bloginfo( 'description' ); ?></p>
<p class="h4"><?php echo esc_html( get_bloginfo( 'description' ) ); ?></p>

</div>

Expand Down

0 comments on commit a9997b3

Please sign in to comment.