Make WordPress Core

Ticket #31935: 31935.patch

File 31935.patch, 431 bytes (added by 5um17, 10 years ago)

Patch checking not singular with is_feed

  • wp-includes/class-wp.php

     
    581581                        }
    582582
    583583                        // Don't 404 for these queries either.
    584                         if ( is_home() || is_search() || is_feed() ) {
     584                        if ( is_home() || is_search() || ( is_feed() && !is_singular() ) ) {
    585585                                status_header( 200 );
    586586                                return;
    587587                        }