WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8784 closed defect (bug) (fixed)

Multiple categories in rss feed broken in wordpress 2.7

Reported by: akoyfman Owned by: markjaquith
Milestone: 2.7.1 Priority: normal
Severity: major Version: 2.7
Component: Canonical Keywords: rss, categories, feed
Focuses: Cc:

Description

Functionality broken in wordpress 2.7. In prior versions of wordpress it was possible to create an rss feed with multiple categories. For example: http://www.xconomy.com/feed/rss2/?cat=1,2. In wordpress 2.7 this URL only displays posts from the first category listed.

One reported workaround is to replace wp-includes/canonical.php with a version from the 2.6 release. It would be nice to have a more permanent solution though.

Attachments (1)

canonical.php (14.2 KB) - added by akoyfman 7 years ago.

Download all attachments as: .zip

Change History (5)

@akoyfman7 years ago

comment:1 @akoyfman7 years ago

Potential fix is to add back is_feed() to line 42. See attached file.

comment:2 @ryan7 years ago

  • Component changed from General to Canonical
  • Owner changed from anonymous to markjaquith

comment:3 @markjaquith7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10396]) Only redirect categories if one "cat" positive integer is specified. fixes #8784 for trunk

comment:4 @markjaquith7 years ago

(In [10397]) Only redirect categories if one "cat" positive integer is specified. fixes #8784 for 2.7

Note: See TracTickets for help on using tickets.