git-svn-id: http://svn.automattic.com/wordpress/trunk@2326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-14 05:50:46 +00:00
parent 9eccc2d2e3
commit 6b03f9b4a5
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'); header('HTTP/1.x 404 Not Found');
} }
if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
if ( get_settings('gzipcompression') )
gzip_compression();
}
// Template redirection // Template redirection
if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) { if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
do_action('template_redirect'); 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; endif;
?> ?>