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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.