WordPress.org

Make WordPress Core

Changeset 13323


Ignore:
Timestamp:
02/23/10 07:10:47 (4 years ago)
Author:
dd32
Message:

Restore [13194] which was accidentally overwritten in [13315]. See #12256

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r13318 r13323  
    475475        global $wp_query; 
    476476 
    477         if ( ( 0 == count( $wp_query->posts ) ) && !is_404() && !is_search() && !is_home() ) { 
     477        if ( ( 0 == count( $wp_query->posts ) ) && !is_404() && !is_robots() && !is_search() && !is_home() ) { 
    478478            // Don't 404 for these queries if they matched an object. 
    479479            if ( ( is_tag() || is_category() || is_tax() || is_author() ) && $wp_query->get_queried_object() ) { 
Note: See TracChangeset for help on using the changeset viewer.