Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@2326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
saxmatt committed Feb 14, 2005
1 parent 9eccc2d commit 6b03f9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wp-blog-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@
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');
Expand Down Expand Up @@ -240,10 +245,5 @@
}
}

if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
if ( get_settings('gzipcompression') )
gzip_compression();
}

endif;
?>

0 comments on commit 6b03f9b

Please sign in to comment.