Make WordPress Core

Changeset 22353


Ignore:
Timestamp:
10/31/2012 11:01:13 PM (12 years ago)
Author:
markjaquith
Message:

Clean up [22347] a bit. see #14348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-loader.php

    r22347 r22353  
    77    do_action('template_redirect');
    88
    9 /**
    10  * Halt template load for HEAD requests. Performance bump by eliminating output
    11  *
    12  * @since 3.5.0
    13  */
     9// Halt template load for HEAD requests. Performance bump. See #14348
    1410if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) )
    15         exit();
     11    exit();
    1612
    1713// Process feeds and trackbacks even if not using themes.
Note: See TracChangeset for help on using the changeset viewer.