WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/26/2013 08:34:37 PM (8 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: remove HTML5 argument for search form, using a filter instead. See #23850, closes #23701.

File:
1 edited

Legend:

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

    r23795 r23799  
    547547
    548548/**
     549 * Switches default core markup for search form to output valid HTML5.
     550 *
     551 * @param string $format Expected markup format, default is `xhtml`
     552 * @return string Twenty Thirteen loves HTML5.
     553 */
     554function twentythirteen_searchform_format( $format ) {
     555    return 'html5';
     556}
     557add_filter( 'search_form_format', 'twentythirteen_searchform_format' );
     558
     559/**
    549560 * Add postMessage support for site title and description for the Customizer.
    550561 *
Note: See TracChangeset for help on using the changeset viewer.