Opened 12 years ago
Closed 12 years ago
#28356 closed defect (bug) (fixed)
wp_widget_rss_output() cleanup
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 3.9 |
| Component: | Widgets | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
There are some issues in wp_widget_rss_output():
[…]is never appended to$summarysince [27691] (see lines 876 and 881).wp_html_excerpt()can cut a string in a middle of a word.wp_trim_words()should be used instead, which would make some of the other string manipulations here redundant.$titleis escaped withesc_attr(), but never used as an attribute.esc_html()should be used instead.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
28356.patch fixes these issues and also includes UmeshSingla's 26552.patch:ticket:26552.