Make WordPress Core


Ignore:
Timestamp:
04/23/2013 05:55:55 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: remove hgroup from the theme markup structure since it's been dropped from HTML5 spec. Props obenland for the starter patch. Fixes #24114.

File:
1 edited

Legend:

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

    r23799 r24072  
    4040    <div id="page" class="hfeed site">
    4141        <header id="masthead" class="site-header" role="banner">
    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>
     42            <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
     43                <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
     44                <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    4745            </a>
    4846
Note: See TracChangeset for help on using the changeset viewer.