Make WordPress Core

Changeset 25604


Ignore:
Timestamp:
09/24/2013 05:06:01 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: simplify header image check, props obenland. See #25400.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/header.php

    r25506 r25604  
    2727    <?php do_action( 'before' ); ?>
    2828
    29     <?php $header_image = get_header_image();
    30     if ( ! empty( $header_image ) ) : ?>
     29    <?php if ( get_header_image() ) : ?>
    3130    <div id="site-header">
    3231        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
Note: See TracChangeset for help on using the changeset viewer.