Make WordPress Core


Ignore:
Timestamp:
06/06/2013 03:31:34 PM (13 years ago)
Author:
nacin
Message:

`add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form' ) );'

props obenland.
see #23850.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r24225 r24417  
    156156    do_action( 'pre_get_search_form' );
    157157
    158     $format = ( current_theme_supports( 'html5-search-form' ) ) ? 'html5' : 'xhtml';
     158    $format = current_theme_supports( 'html5', 'search-form' ) ? 'html5' : 'xhtml';
    159159    $format = apply_filters( 'search_form_format', $format );
    160160
Note: See TracChangeset for help on using the changeset viewer.