Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, the Zen theme displays the "Comments" heading even if there aren't any comments. Core checks to see if ($content['comments'])
before printing the heading, but that is flawed since that array may be non-empty yet not render to anything.
Same is true for the comment form.
So we need to pre-render both the $content['comments'] and the $content['comment_form']. :-p
Comments
Comment #1
JohnAlbinFixed. http://drupal.org/cvs?commit=502268