Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#23848 closed defect (bug) (duplicate)

Enable html on search widget

Reported by: wraithkenny's profile WraithKenny Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Widgets Keywords: has-patch
Focuses: Cc:

Description

If a theme is using html5 search, it should be able to set the search widget to do the same.

Attachments (1)

html5_search_widget.patch (568 bytes) - added by WraithKenny 12 years ago.

Download all attachments as: .zip

Change History (6)

#1 @WraithKenny
12 years ago

not tested, and there's a typo

#2 @WraithKenny
12 years ago

  • Keywords has-patch added

fixed typo, and tested in TwentyThirteen with add_filter( 'widget_searchform_format', function(){return 'html5';} ); and the 16539-5.patch on #16539

#3 @WraithKenny
12 years ago

Alternatively, a filter in get_search_form() would make this filter unneeded.

Last edited 12 years ago by WraithKenny (previous) (diff)

#5 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing in favor of #23850.

Note: See TracTickets for help on using tickets.