I noticed that when I hook into ‘wp’ it seems to be firing twice — for example
add_action('wp', 'just_testing');
function just_testing(){
global $post;
error_log($post->ID);
}
returns into my error_log the following two entries:
[01-Feb-2013 13:06:58 UTC] 1120
[01-Feb-2013 13:06:58 UTC]
I searched google and stackexchange and the thread “What would cause the ‘wp’ action to fire twice per page (but only once per post) in Firefox only?” does not apply because I am getting the two firings in all browsers.
Thanks for any help!