Changeset 49994
- Timestamp:
- 01/21/2021 12:15:47 PM (4 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwentyone/template-parts/header
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/template-parts/header/site-branding.php
r49826 r49994 35 35 <?php endif; ?> 36 36 37 <?php if ( $description && get_theme_mod( 'display_title_and_tagline', true ) === true) : ?>37 <?php if ( $description && true === get_theme_mod( 'display_title_and_tagline', true ) ) : ?> 38 38 <p class="site-description"> 39 39 <?php echo $description; // phpcs:ignore WordPress.Security.EscapeOutput ?> -
trunk/src/wp-content/themes/twentytwentyone/template-parts/header/site-header.php
r49826 r49994 10 10 $wrapper_classes = 'site-header'; 11 11 $wrapper_classes .= has_custom_logo() ? ' has-logo' : ''; 12 $wrapper_classes .= true === get_theme_mod( 'display_title_and_tagline', true) ? ' has-title-and-tagline' : '';12 $wrapper_classes .= ( true === get_theme_mod( 'display_title_and_tagline', true ) ) ? ' has-title-and-tagline' : ''; 13 13 $wrapper_classes .= has_nav_menu( 'primary' ) ? ' has-menu' : ''; 14 14 ?>
Note: See TracChangeset
for help on using the changeset viewer.