Mass escaping and singular placeholder fix according to the CS check.
This commit is contained in:
+3
-3
@@ -15,14 +15,14 @@ if ( !defined( 'WPINC' ) ) {
|
||||
--minimalistflex-header: <?php
|
||||
$header_textcolor = get_header_textcolor();
|
||||
if ( preg_match( '/#/', $header_textcolor ) ) {
|
||||
echo $header_textcolor;
|
||||
echo esc_html( $header_textcolor );
|
||||
} else {
|
||||
echo '#' . $header_textcolor;
|
||||
echo esc_html( '#' . $header_textcolor );
|
||||
}
|
||||
?>;
|
||||
<?php $color_keys = array_keys( $colors ); ?>
|
||||
<?php foreach( $color_keys as $color_key ): ?>
|
||||
--minimalistflex-<?php echo $color_key; ?>: <?php echo esc_html( get_theme_mod( 'minimalistflex_color_' . $color_key, $colors[$color_key] ) ); ?>;
|
||||
--minimalistflex-<?php echo esc_html( $color_key ) ?>: <?php echo esc_html( get_theme_mod( 'minimalistflex_color_' . $color_key, $colors[$color_key] ) ); ?>;
|
||||
<?php endforeach; ?>
|
||||
--minimalistflex-max-height: <?php
|
||||
if ( get_theme_mod( 'minimalistflex_interface_thumbnail_height', 'flexible' ) === 'fixed' ) {
|
||||
|
||||
Reference in New Issue
Block a user