Make WordPress Core


Ignore:
Timestamp:
02/26/2013 04:50:09 AM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: header area with no site title or tagline should still be clickable to home. Fixes #23549.

Fix also removes several !important flags that aren't necessary, relating to header text color.

File:
1 edited

Legend:

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

    r23452 r23492  
    4040    <div id="page" class="hfeed site">
    4141        <header id="masthead" class="site-header" role="banner">
    42             <hgroup>
    43                 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    44                 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    45             </hgroup>
     42            <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
     43                <hgroup>
     44                    <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
     45                    <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
     46                </hgroup>
     47            </a>
    4648
    4749            <div id="navbar" class="navbar">
Note: See TracChangeset for help on using the changeset viewer.