Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#3019 closed defect (bug) (fixed)

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

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

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 20 years ago.

Download all attachments as: .zip

Change History (6)

#1 @skeltoac
20 years ago

  • Keywords has-patch added

#2 @ryan
20 years ago

  • Resolutionfixed
  • Status newclosed

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

#3 @ryan
20 years ago

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

#4 @foolswisdom
20 years ago

  • Milestone 2.12.0.5

#5 @(none)
20 years ago

  • Milestone 2.0.5

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.