WordPress.org

Make WordPress Core

#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:

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 13 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 WraithKenny13 months ago

not tested, and there's a typo

comment:2 WraithKenny13 months 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 WraithKenny13 months ago

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

Last edited 13 months ago by WraithKenny (previous) (diff)

comment:5 SergeyBiryukov13 months 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.