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
@@ -8,7 +8,7 @@ if ( !defined( 'WPINC' ) ) {
<?php if ( have_posts() ) : ?>
<div class="minimalistflex-archive">
<?php if ( get_theme_mod( 'minimalistflex_layout_archive_title', 'yes' ) == 'yes' ): ?>
<?php if ( get_theme_mod( 'minimalistflex_layout_archive_title', 'yes' ) === 'yes' ): ?>
<h1 class="archive-title panel">
<?php the_archive_title() ?>
</h1>