Clean up [22347] a bit. see #14348
git-svn-id: https://develop.svn.wordpress.org/trunk@22353 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7bd3be3ca2
commit
2dc29f9587
@ -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() ) :
|
||||
|
Loading…
Reference in New Issue
Block a user