Changeset 24225
- Timestamp:
- 05/09/2013 10:41:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r24189 r24225 156 156 do_action( 'pre_get_search_form' ); 157 157 158 $format = apply_filters( 'search_form_format', 'xhtml' ); 158 $format = ( current_theme_supports( 'html5-search-form' ) ) ? 'html5' : 'xhtml'; 159 $format = apply_filters( 'search_form_format', $format ); 159 160 160 161 $search_form_template = locate_template( 'searchform.php' );
Note: See TracChangeset
for help on using the changeset viewer.