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
No related tags found
No related merge requests found
Pipeline #54197 passed
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
function ai_robots_txt_add_cache_headers() { 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'); 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.
Please register or to comment