[wp-trac] [WordPress Trac] #13049: Wordpress should not generate feeds for 404 pages
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 24 03:01:54 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
--------------------------+-------------------------------------------------
Comment(by dd32):
> 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.
I'd say that'd be for not 404'ing valid feed url's, For example, the Feed
url of a empty category, The feed is a valid feed, even if it has no
posts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13049#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list