#10378 closed defect (bug) (fixed)
The feed widget breaks UTF-8 titles
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8.2 | Priority: | normal |
Severity: | normal | Version: | 2.8.1 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [11706]) Properly escape the title in the feed widget, props nbachiyski, fixes #10378 for 2.8