Used === instead of ==. Improved security.

This commit is contained in:
Frank419
2024-08-27 18:10:48 +08:00
parent 3daee81a3a
commit 52e0c6309c
8 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ $label = get_theme_mod( 'minimalistflex_header_label' );
<a class="screen-reader-text" href="#main-content"><?php esc_html_e( 'Skip to main content', 'minimalistflex' ) ?></a>
<?php if( get_header_image() && $header == 'yes' ): ?>
<?php if( get_header_image() && $header === 'yes' ): ?>
<header class="minimalistflex-header-image">
<?php if ( strlen( $link ) ): ?>
<a href="<?php echo esc_url( $link ) ?>" aria-label="<?php