# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/mikeschinkel/Sites/wordpress/trunk/wp-includes
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: classes.php
--- classes.php Base (BASE)
+++ classes.php Locally Modified (Based On LOCAL)
@@ -466,9 +466,13 @@
 					status_header( 200 );
 				return;
 			}
+			if (apply_filters('handle_404',false))
+        status_header( 200 );
+      else {
 			$wp_query->set_404();
 			status_header( 404 );
 			nocache_headers();
+      }
 		} elseif ( !is_404() ) {
 			status_header( 200 );
 		}
