Don't gzip admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@1220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1fc021b261
commit
f24aeb0975
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user