Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Update defer-wordpress.php
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
shinsenter authored Aug 12, 2024
1 parent de2364f commit b15ca0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defer-wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function defer_wp_ob($buffer)
foreach (headers_list() as $header) {
if (preg_match('/Content-Type:/i', $header)) {
if (false === strstr(strtolower($header), 'html')) {
return 'aaa' . $buffer;
return $buffer;
}

// end the loop
Expand Down

0 comments on commit b15ca0f

Please sign in to comment.