[wp-trac] [WordPress Trac] #13049: Wordpress should not generate feeds for 404 pages
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 21 07:05:56 UTC 2010
#13049: Wordpress should not generate feeds for 404 pages
--------------------------+-------------------------------------------------
Reporter: solarissmoke | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 3.0
Component: Feeds | Version: 3.0
Severity: normal | Keywords: dev-feedback has-patch
--------------------------+-------------------------------------------------
Comment(by solarissmoke):
Looking more closely, the WP_Query::set_404() function deliberately does
not reset the is_feed boolean like it does with everything else when a 404
is found, suggesting that for some reason this is intentional.
Any comments on why this might be the case? I think a 404 should go
through the 404 template regardless of what is requested. if_feed isn't
really valid because even though the query might look like it is for a
feed, no such resource exists and therefore we shouldn't assume it is a
feed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13049#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list