Ticket #2897 (closed defect (bug): fixed)
Title attributes on Import page can contain < and > characters
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0.3 |
| Severity: | trivial | Keywords: | bg|has-patch |
| Cc: |
Description
The title attributes on the links pointing to the different import modules can (and do) contain < and > characters, which breaks XHTML validation.
Attachments
Change History
- Keywords bg|has-patch added
- Owner changed from anonymous to Nazgul
- Status changed from new to assigned
- Status changed from assigned to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.


Created a patch which does a wptexturize on the attribute, as specified in the Coding Guidelines and also does a strip_html on it, because title attributes shouldn't contain HTML markup.