[wp-trac] Re: [WordPress Trac] #9432: Output Broken: Ticket for collecting patches to proplery encode script and other href attribute values

WordPress Trac wp-trac at lists.automattic.com
Fri May 15 17:19:40 GMT 2009


#9432: Output Broken: Ticket for collecting patches to proplery encode script and
other href attribute values
---------------------+------------------------------------------------------
  Reporter:  hakre   |        Type:  defect (bug)
    Status:  closed  |    Priority:  normal      
 Milestone:  2.8     |   Component:  Validation  
   Version:  2.7.1   |    Severity:  normal      
Resolution:  fixed   |    Keywords:  has-patch   
---------------------+------------------------------------------------------

Comment(by hakre):

 _wp_dashboard_recent_comments_row() in dashboard.php is using
 get_comment_link() but does not escape it properly for XHTML usage. I
 created a helper function to do the job (so that a single point needs to
 be fixed in case of a bad implementation). Patch follows.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9432#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list