[wp-trac] [WordPress Trac] #13049: Wordpress should not generate feeds for 404 pages
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 19 11:39:22 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: General | Version: 3.0
Severity: normal | Keywords: dev-feedback has-patch
--------------------------+-------------------------------------------------
Changes (by solarissmoke):
* keywords: => dev-feedback has-patch
Comment:
The problem is that in the template loader, do_feed() is called before
calling theme files (where 404 is checked). I propose adding an is_404()
check before doing feeds.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13049#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list