Opened 6 years ago

Closed 6 years ago

#3834 closed defect (bug) (fixed)

wp_rss() puts item description in title attribute

Reported by: foofy Owned by: rob1n
Priority: low Milestone: 2.3
Component: General Version: 2.1.1
Severity: normal Keywords: has-patch commit
Cc:

Description

wp_rss() puts the full item description (including HTML tags) in the title. This causes validation errors, and adds a lot of bloat to the HTML that a lot of users won't see.

Attachments (2)

wp_rss_description_removal.diff (1.0 KB) - added by markjaquith 6 years ago.
Removes description from the title
3834.diff (1.4 KB) - added by rob1n 6 years ago.

Download all attachments as: .zip

Change History (14)

  • Component changed from Administration to General
  • Milestone changed from 2.3 to 2.2

Removes description from the title

  • Keywords has-patch added

Patch removes it for wp_rss() and get_rss()

The title tag appears when you hover over a link in most user agents. Do we really want to eliminate this?

We don't want it to be the full description. And title is redundant.

  • Keywords has-patch removed
  • Milestone changed from 2.2 to 2.4
  • Keywords has-patch added
  • Milestone changed from 2.4 to 2.3
  • Owner changed from anonymous to markjaquith
  • Owner changed from markjaquith to rob1n
  • Status changed from new to assigned

We could do attribute_escape( strip_tags( $desc ) ).

rob1n6 years ago

  • Keywords commit added
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5698]) wp_rss() updates. fixes #3834

Note: See TracTickets for help on using tickets.