Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14199 closed defect (bug) (fixed)

wp_rss() and get_rss() break UTF-8 titles

Reported by: SergeyBiryukov Owned by:
Priority: normal Milestone: 3.1
Component: Feeds Version: 3.0
Severity: normal Keywords: has-patch
Cc: SergeyBiryukov

Description

The problem described in #10378 is also related to wp_rss() and get_rss(). They use htmlentities( $item['title'] ), which makes the title unreadable.

Though both functions have been deprecated, they still exist and therefore need to be fixed.

Attachments (1)

do-not-use-htmlentities-on-feed-titles.patch (656 bytes) - added by SergeyBiryukov 3 years ago.

Download all attachments as: .zip

Change History (4)

  • Milestone changed from Awaiting Review to 3.1
  • Resolution set to fixed
  • Status changed from new to closed

(In [16031]) Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.

Something accidentally snuck into that commit, but it was an intentional change based on codex.wordpress.org/Inline_Documentation#.40author_Tag and the fact that none of the code that started add_option() is there anymore. So I'm going to leave it.

Note: See TracTickets for help on using tickets.