From f24aeb0975c5460da4938f61ce48b7e9091e75a1 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 1 May 2004 08:59:40 +0000 Subject: [PATCH] Don't gzip admin. git-svn-id: https://develop.svn.wordpress.org/trunk@1220 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 80af786efd..bd3e2f92e4 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") {