WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#3019 closed defect (bug) (fixed)

/feed/ with zero posts puts out 404 template (not XML)

Reported by: skeltoac Owned by:
Milestone: Priority: high
Severity: normal Version: 2.0.4
Component: General Keywords: feed 404 has-patch
Focuses: Cc:

Description

Due to $wp_query->init_query_flags() in $wp_query->set_404(), $wp_query->is_feed is lost. Only a problem with pretty URLs due to classes.php line 326.

Attachments (1)

retain-is-feed.diff (379 bytes) - added by skeltoac 8 years ago.

Download all attachments as: .zip

Change History (6)

skeltoac8 years ago

comment:1 skeltoac8 years ago

  • Keywords has-patch added

comment:2 ryan8 years ago

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

(In [4096]) Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019

comment:3 ryan8 years ago

(In [4227]) Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019

comment:4 foolswisdom8 years ago

  • Milestone changed from 2.1 to 2.0.5

comment:5 anonymous7 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.