From 93633214e1d2c2512a7df5ef25e7c5050108b96b Mon Sep 17 00:00:00 2001 From: zytzagoo Date: Thu, 11 Aug 2016 15:32:49 +0200 Subject: [PATCH] Remove `flush()` call in wp_cache_get_response_headers() For more details see: https://github.com/Automattic/wp-super-cache/issues/126 Fixes #126 --- wp-cache-phase2.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-cache-phase2.php b/wp-cache-phase2.php index 0466eda57710e..4846e34c36345 100644 --- a/wp-cache-phase2.php +++ b/wp-cache-phase2.php @@ -121,7 +121,6 @@ function wp_cache_user_agent_is_rejected() { function wp_cache_get_response_headers() { if(function_exists('apache_response_headers')) { - flush(); $headers = apache_response_headers(); } else if(function_exists('headers_list')) { $headers = array();