This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Buffer Flush Fix


If you’ve run into the error “failed to send buffer of zlib output compression” with WordPress, this simple plugin fixes the issue.

The plugin replaces the default “wp_ob_end_flush_all” implementation, by adding a check for whether zlib compression is on. If it is,
then buffer level one isn’t flushed. This prevents WordPress from trying to flush the ‘reserved’ compression buffer, which causes an error.

A patch has also been submitted to the WordPress core, with this plugin as an interim solution.


There are no reviews for this plugin.

Contributors & Developers

“Buffer Flush Fix” is open source software. The following people have contributed to this plugin.


Translate “Buffer Flush Fix” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.