Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See https://github.com/WebSharks/Quick-Cache/issues/97#issuecomment-4136... #24

Merged
merged 2 commits into from Apr 25, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions quick-cache-pro/includes/advanced-cache.tpl.php
Expand Up @@ -1208,8 +1208,7 @@ public function disable_wp_ob_end_flush_all_e_notice()
*/
public function output_buffer_callback_handler($buffer, $phase)
{
if($phase !== (PHP_OUTPUT_HANDLER_START | PHP_OUTPUT_HANDLER_END))
// Quick Cache does NOT chunk it's output buffering; so this should never happen.
if(!($phase & PHP_OUTPUT_HANDLER_END)) // We do NOT chunk the buffer; so this should NOT occur.
throw new \exception(sprintf(__('Unexpected OB phase: `%1$s`.', $this->text_domain), $phase));

# Exclusion checks; there are MANY of these...
Expand Down