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
@@ -31,7 +31,7 @@ if ( !defined( 'WPINC' ) ) {
echo esc_html( 'auto;' );
}
?>
<?php if ( get_theme_mod( 'minimalistflex_color_disable_shadow', 'no' ) == 'yes' ): ?>
<?php if ( get_theme_mod( 'minimalistflex_color_disable_shadow', 'no' ) === 'yes' ): ?>
--minimalistflex-shadow: transparent;
--minimalistflex-shadow-light: transparent;
<?php else: ?>