Possible BUG on load comments logic.
-
Hello, on page.php you wrote:
// If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif;However, get_comments_number returns the number of comments. If there are no comments it returns 0, not FALSE but a 0 that equals TRUE.
So in other words i think this logic is wrong.
The topic ‘Possible BUG on load comments logic.’ is closed to new replies.
