From 163ef6282276c2a6e270f1f9e879b5b3a0049e0d Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 31 Oct 2012 23:01:13 +0000 Subject: [PATCH] Clean up [22347] a bit. see #14348 git-svn-id: http://core.svn.wordpress.org/trunk@22353 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-loader.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/wp-includes/template-loader.php b/wp-includes/template-loader.php index b7b12cd502..7051f3452b 100644 --- a/wp-includes/template-loader.php +++ b/wp-includes/template-loader.php @@ -6,13 +6,9 @@ if ( defined('WP_USE_THEMES') && WP_USE_THEMES ) do_action('template_redirect'); -/** - * Halt template load for HEAD requests. Performance bump by eliminating output - * - * @since 3.5.0 - */ +// Halt template load for HEAD requests. Performance bump. See #14348 if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) - exit(); + exit(); // Process feeds and trackbacks even if not using themes. if ( is_robots() ) :