Skip to content

Commit

Permalink
Merge pull request #127 from zytzagoo/patch-1
Browse files Browse the repository at this point in the history
Remove `flush()` call in wp_cache_get_response_headers()
  • Loading branch information
donnchawp authored Feb 3, 2017
2 parents 03c1af9 + 9363321 commit 67c53e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wp-cache-phase2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 67c53e9

Please sign in to comment.