Make WordPress Core


Ignore:
Timestamp:
11/02/2018 11:52:16 PM (6 years ago)
Author:
allancole
Message:

Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.

Let Gutenberg shine with this simple, fast, and powerful theme. Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, mukeshpanchal27, burhandodhy, crunnells, Ismail-elkorchi, aryaprakasa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/template-parts/header/site-branding.php

    r43842 r43860  
    1313        <div class="site-logo"><?php the_custom_logo(); ?></div>
    1414    <?php endif; ?>
    15 
    16     <?php if ( ! empty( get_bloginfo( 'name' ) ) ) : ?>
     15    <?php $blog_info = get_bloginfo( 'name' ); ?>
     16    <?php if ( ! empty( $blog_info ) ) : ?>
    1717        <?php if ( is_front_page() && is_home() ) : ?>
    1818            <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
Note: See TracChangeset for help on using the changeset viewer.