Opened 13 years ago
Closed 13 years ago
#25322 closed defect (bug) (fixed)
Escape title in HTML5 search form field
| Reported by: | obenland | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Template | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
The title attribute in the search input of the HTML5 search form is not escaped. Not sure if a title is necessary there in the first place, but it should be properly escaped if it is.
Attachments (4)
Change History (13)
#2
follow-up:
↓ 3
@
13 years ago
- Resolution → fixed
- Status new → closed
This seems to be fixed in trunk, closing.
#3
in reply to: ↑ 2
@
13 years ago
- Resolution fixed
- Status closed → reopened
Replying to joostdevalk:
This seems to be fixed in trunk, closing.
I don't think it is: http://core.trac.wordpress.org/browser/trunk/src/wp-includes/general-template.php#L175
#4
@
13 years ago
- Keywords commit added
Ah so the patch was in fact out of date :) Just updated it. Seems ready for commit to me.
#5
@
13 years ago
Updated the patch by joostdevalk to use the correct function (esc_attr_x) - probably just a typo
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
You're right. I don't see a reason why this shouldn't be commited.