[wp-hackers] Disable the G-Zip Button

Matt Mullenweg m at mullenweg.com
Sat Jun 10 01:59:40 GMT 2006


Mark Jaquith wrote:
> add_filter('option_gzipcompression', create_function('$a=0', 'return 0;'));
> 
> No need to run update_option() on each load, just change the value as it 
> comes out of the database.

Nice snippet.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com



More information about the wp-hackers mailing list