Changeset 13323
- Timestamp:
- 02/23/2010 07:10:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r13318 r13323 475 475 global $wp_query; 476 476 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() ) { 478 478 // Don't 404 for these queries if they matched an object. 479 479 if ( ( is_tag() || is_category() || is_tax() || is_author() ) && $wp_query->get_queried_object() ) {
Note: See TracChangeset
for help on using the changeset viewer.