Make WordPress Core


Ignore:
Timestamp:
03/12/2013 05:44:27 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.

File:
1 edited

Legend:

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

    r23492 r23673  
    5050                <nav id="site-navigation" class="navigation main-navigation" role="navigation">
    5151                    <h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3>
    52                     <a class="assistive-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
     52                    <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
    5353                    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    54                     <?php get_search_form(); ?>
     54                    <?php get_search_form( true, 'html5' ); ?>
    5555                </nav><!-- #site-navigation -->
    5656            </div><!-- #navbar -->
Note: See TracChangeset for help on using the changeset viewer.