mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
332a618271
commit
168ed4764e
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user