From 3f35e43429a51890463992aa59b8890232ab88f3 Mon Sep 17 00:00:00 2001 From: dd32 Date: Tue, 23 Feb 2010 07:10:47 +0000 Subject: [PATCH] Restore [13194] which was accidentally overwritten in [13315]. See #12256 git-svn-id: http://svn.automattic.com/wordpress/trunk@13323 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 6f19c42ec7..9c95579257 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -474,7 +474,7 @@ class WP { function handle_404() { global $wp_query; - if ( ( 0 == count( $wp_query->posts ) ) && !is_404() && !is_search() && !is_home() ) { + if ( ( 0 == count( $wp_query->posts ) ) && !is_404() && !is_robots() && !is_search() && !is_home() ) { // Don't 404 for these queries if they matched an object. if ( ( is_tag() || is_category() || is_tax() || is_author() ) && $wp_query->get_queried_object() ) { if ( !is_404() )