Skip to content
Snippets Groups Projects
Commit f84a4162 authored by ale's avatar ale
Browse files

Fix header() invocation

parent 65c855a1
No related branches found
Tags v0.4.13
No related merge requests found
Pipeline #54197 passed
......@@ -8,7 +8,7 @@
*/
function ai_robots_txt_add_cache_headers() {
header("Cache-Control", "max-age=86400");
header("Cache-Control: max-age=86400");
}
add_action('do_robotstxt', 'ai_robots_txt_add_cache_headers');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment