[wp-hackers] Disable the G-Zip Button

Computer Guru computerguru at neosmart.net
Mon Jun 5 17:38:50 GMT 2006

OK, thanks, I'm going to give that a try :D

Computer Guru
NeoSmart Technologies

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Peter Westwood
Sent: Monday, June 05, 2006 8:36 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] Disable the G-Zip Button

Computer Guru wrote:
> Doesn't that option turn GZip on or off? I need to disable the button 
> itself.

Yes it does

If you really need to disable the button rather than just forcing the option
to off then you will have to output buffer the options page and preg_replace
it out.

But it would be easier to hook on 'init' or 'plugins_loaded' and force the
option off every time

Peter Westwood

wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list