From 6b03f9b4a5d6f492747eb344a34e3e5322f96224 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 14 Feb 2005 05:50:46 +0000 Subject: [PATCH] Don't exit too early - http://mosquito.wordpress.org/view.php?id=870 git-svn-id: http://svn.automattic.com/wordpress/trunk@2326 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index d6b75731d8..4595c6a52f 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -186,6 +186,11 @@ if ( (0 == count($posts)) && !is_404() && !is_search() header('HTTP/1.x 404 Not Found'); } +if ($pagenow != 'post.php' && $pagenow != 'edit.php') { + if ( get_settings('gzipcompression') ) + gzip_compression(); +} + // Template redirection if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) { do_action('template_redirect'); @@ -240,10 +245,5 @@ if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) { } } -if ($pagenow != 'post.php' && $pagenow != 'edit.php') { - if ( get_settings('gzipcompression') ) - gzip_compression(); -} - endif; ?> \ No newline at end of file