[wp-trac] [WordPress Trac] #10378: The feed widget breaks UTF-8 titles

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 10 17:10:48 UTC 2009


#10378: The feed widget breaks UTF-8 titles
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:  azaozz    
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Widgets       |     Version:  2.8.1     
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 {{{WP_Widget_RSS::widget()}}} calls {{{htmlentities()}}} on the feed
 title, which by default assumes the string is in iso-8859-1 and thus
 encodes every byte as an entity.

 In fact, we don't need to use {{{htmlentities()}}}, since the title is
 used in HTML. {{{esc_html()}}} is enough.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10378>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list