Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
sizeof => strlen re: issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
austinheap committed Jan 7, 2019
1 parent 1424b8e commit b70490b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/public/class-wordpress-security-txt-public.php
Expand Up @@ -231,7 +231,7 @@ private function show($document)
return;
}

header('Content-Length: ' . sizeof($output));
header('Content-Length: ' . strlen($output));
header('Content-Type: text/plain');

print $output;
Expand Down

0 comments on commit b70490b

Please sign in to comment.