Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#23848 closed defect (bug) (duplicate)

Enable html on search widget

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


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 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 @WraithKenny3 years ago

not tested, and there's a typo

comment:2 @WraithKenny3 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

comment:3 @WraithKenny3 years ago

Alternatively, the filter could be moved into get_search_form()

Version 0, edited 3 years ago by WraithKenny (next)

comment:5 @SergeyBiryukov3 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.