Don't gzip admin.

git-svn-id: https://develop.svn.wordpress.org/trunk@1220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-01 08:59:40 +00:00
parent 1fc021b261
commit f24aeb0975
1 changed files with 1 additions and 0 deletions

View File

@ -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") {