git-svn-id: https://develop.svn.wordpress.org/trunk@2326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-02-14 05:50:46 +00:00
parent 03dce26a1e
commit 0ef609b8b3
1 changed files with 5 additions and 5 deletions

View File

@ -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;
?>