Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#6372 closed enhancement (duplicate)

Addition of ID's on some form elements in wp-includes/widgets.php

Reported by: diegomax Owned by:
Priority: normal Milestone:
Component: Widgets Version: 2.5
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

Hello there WordPress developers.

I would like to suggest the addition of some ID tags to some form elements in the wp-includes/widgets.php file.

In line 414 the search widget "Submit" button lacks the ID tag.

<input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" />

This little issue breaks compatibility with some specific css customizations with every upgrade and i think it should be trivial to fix.
Im aware of course that this could still be styled by using proper css inheritance, etc, but since every other element in the widgets file comes with proper ID's, I´m pretty sure that this is just a forgotten code bit.
Thanks in advance.
Diego.

Change History (4)

#1 @Viper007Bond
18 years ago

  • Component GeneralTemplate
  • Keywords needs-patch added
  • Milestone 2.3.42.6
  • Version 2.3.32.5

#2 @ionfish
18 years ago

This issue is also addressed by #5567, which replaces the widget search form with the theme's search form (or if none is provided, the default theme's search form). This adds consistency and reduces code duplication.

#3 @ryan
18 years ago

  • Component TemplateWidgets
  • Owner anonymous removed

#4 @Denis-de-Bernardy
17 years ago

  • Milestone 2.9
  • Resolutionduplicate
  • Status newclosed

fixed in #5567

Note: See TracTickets for help on using tickets.