Skip to content

Commit

Permalink
Merge branch 'develop' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed May 23, 2024
2 parents 46cd316 + 37ae07c commit 4da4797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template-parts/blocks/resource-links/resource-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
if ( $links ) {
foreach ( $links as $key => $row ) {
if ( ! empty( $row['link'] ) ) {
$resource_select_link = esc_url( $row['link'] );
$resource_select_link = esc_html( $row['link'] );
}
if ( ! empty( $row['icon'] ) ) {
$icon = esc_url( $row['icon']['url'] );
Expand All @@ -64,7 +64,7 @@
}
?>
<img src="<?php echo esc_url( $icon ); ?>" alt="" aria-hidden="true" />
<?php echo esc_url( $resource_select_link ); ?>
<?php echo esc_html( $resource_select_link ); ?>
<?php
}
}
Expand Down

0 comments on commit 4da4797

Please sign in to comment.