WordPress.org

Make WordPress Core

Changeset 29216


Ignore:
Timestamp:
07/17/2014 10:21:37 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Don't 404 for empty feeds.

fixes #18505.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp.php

    r29142 r29216  
    583583
    584584            // Don't 404 for these queries either.
    585             if ( is_home() || is_search() ) {
     585            if ( is_home() || is_search() || is_feed() ) {
    586586                status_header( 200 );
    587587                return;
Note: See TracChangeset for help on using the changeset viewer.