is_singular is being called on _close_comments_for_old_posts
|Reported by:||luis.ferro||Owned by:||ryan|
wp-includes/comment.php (as of version 3.2.1)
Line 1965 calls for is_singular when on certain situations, the query was not yet performed, generating the following error:
Notice: is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. (This message was added in version 3.1.) wp-includes/functions.php on line 3501
The message pointing to functions.php is not very helpful either, but nothing that a debug_backtrace doesn't sort out.