Don't 404 for empty feeds.

fixes #18505.
Built from https://develop.svn.wordpress.org/trunk@29216


git-svn-id: http://core.svn.wordpress.org/trunk@29000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-07-17 22:22:15 +00:00
parent be718ee860
commit 47119960de

View File

@ -582,7 +582,7 @@ class WP {
}
// Don't 404 for these queries either.
if ( is_home() || is_search() ) {
if ( is_home() || is_search() || is_feed() ) {
status_header( 200 );
return;
}