mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Don't gzip admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@1220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user