Php script executed twice with get_header()
-
Hello,
I running wp version 3.9.1 with gamepress theme. When I use get_header() function my php script executed twice (all scripts where is involved mentioned func).
For example:<?php require('./wp-blog-header.php'); get_header(); error_log("TEST!", 0); ?>
output will be:
[28-May-2014 20:18:57 UTC] TEST! [28-May-2014 20:18:57 UTC] TEST!
NOTE:
1. With get_footer() is everything fine…
2. This is only with GamePress theme.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Php script executed twice with get_header()’ is closed to new replies.