Skip to content

Commit

Permalink
Use wp_kses_post instead of esc_html in landing page opening output
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonwebz committed Jun 17, 2024
1 parent 37ae07c commit 3065688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ function eqd_single_landing_page() {

<?php
if ( empty( $parameter_page ) ) {
echo esc_html( get_field( 'how_does_the_consult_work' ) );
echo wp_kses_post( get_field( 'how_does_the_consult_work' ) );
} else {
echo esc_html( get_field( 'how_does_the_consult_work', $parameter_page ) );
echo wp_kses_post( get_field( 'how_does_the_consult_work', $parameter_page ) );
}
?>
</div>
Expand Down

0 comments on commit 3065688

Please sign in to comment.