Don't 404 for empty feeds.

fixes #18505.

git-svn-id: https://develop.svn.wordpress.org/trunk@29216 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-07-17 22:21:37 +00:00
parent 332a618271
commit 168ed4764e

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;
}