Make WordPress Core


Ignore:
Timestamp:
06/10/2011 09:57:18 PM (13 years ago)
Author:
nacin
Message:

Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385, fixes #17563.

File:
1 edited

Legend:

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

    r18181 r18244  
    7272    <header id="branding" role="banner">
    7373            <hgroup>
    74                 <h1 id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
     74                <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
    7575                <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    7676            </hgroup>
     
    8181                if ( ! empty( $header_image ) ) :
    8282            ?>
    83             <a href="<?php echo home_url( '/' ); ?>">
     83            <a href="<?php echo esc_url( home_url( '/' ) ); ?>">
    8484                <?php
    8585                    // The header image
Note: See TracChangeset for help on using the changeset viewer.