Opened 15 years ago
Closed 15 years ago
#8967 closed defect (bug) (fixed)
Calendar link title attributes do not pass XHTML validation if titles contain HTML
Reported by: | room34 | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | minor | Version: | 2.7 |
Component: | Validation | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
Title attributes in links generated by the get_calendar() function do not pass XHTML validation if the title contains HTML (for example, em tags for italicized words).
Problem can be resolved by applying htmlentities() function to $ak_titles_for_day[$day] string on line 1072 (in WP 2.7) of general-template.php.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [11215]) Escape title attributes in calendar links. fixes #8967