From d35fb75d7d65005190414823ac42186fbf55c75f Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 1 May 2004 08:59:40 +0000 Subject: [PATCH] Don't gzip admin. git-svn-id: http://svn.automattic.com/wordpress/trunk@1220 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 80af786ef..bd3e2f92e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -438,6 +438,7 @@ function get_catname($cat_ID) { function gzip_compression() { global $gzip_compressed; + if (strstr($_SERVER['PHP_SELF'], 'wp-admin')) return true; if (!$gzip_compressed) { $phpver = phpversion(); //start gzip compression if($phpver >= "4.0.4pl1") {