mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Don't gzip admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
864b793c59
commit
d35fb75d7d
@ -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