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
This commit is contained in:
parent
9eccc2d2e3
commit
6b03f9b4a5
|
@ -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;
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue