diff -r f507feede89a -r 09a1c134465b web/wp-includes/template-loader.php --- a/web/wp-includes/template-loader.php Wed Dec 19 12:35:13 2012 -0800 +++ b/web/wp-includes/template-loader.php Wed Dec 19 17:46:52 2012 -0800 @@ -6,6 +6,10 @@ if ( defined('WP_USE_THEMES') && WP_USE_THEMES ) do_action('template_redirect'); +// Halt template load for HEAD requests. Performance bump. See #14348 +if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) + exit(); + // Process feeds and trackbacks even if not using themes. if ( is_robots() ) : do_action('do_robots');