Changeset 22347
- Timestamp:
- 10/31/2012 09:39:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-loader.php
r19712 r22347 6 6 if ( defined('WP_USE_THEMES') && WP_USE_THEMES ) 7 7 do_action('template_redirect'); 8 9 /** 10 * Halt template load for HEAD requests. Performance bump by eliminating output 11 * 12 * @since 3.5.0 13 */ 14 if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) 15 exit(); 8 16 9 17 // Process feeds and trackbacks even if not using themes.
Note: See TracChangeset
for help on using the changeset viewer.