Ticket #3019 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 5 years ago

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

Reported by: skeltoac Owned by: anonymous
Priority: high Milestone:
Component: General Version: 2.0.4
Severity: normal Keywords: feed 404 has-patch
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

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

Change History

  • Keywords has-patch added

comment:2   ryan5 years ago

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

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

comment:3   ryan5 years ago

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

  • Milestone changed from 2.1 to 2.0.5
  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.