[wp-trac] [WordPress Trac] #8967: Calendar link title attributes do
not pass XHTML validation if titles contain HTML
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 26 21:39:21 GMT 2009
#8967: Calendar link title attributes do not pass XHTML validation if titles
contain HTML
--------------------------+-------------------------------------------------
Reporter: room34 | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: minor | Keywords: title attribute XHTML validation
--------------------------+-------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/8967>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list