When creating a panel that displays node comments elsewhere, the ctools_comment_render() function ignores the node's comment display setting (specifically, if comments exist and comments are set to disabled, they will be rendered anyway). The attached patch checks that $node->comment is true.

CommentFileSizeAuthor
ctools.comment_display.patch553 bytesjhedstrom
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Version: 6.x-1.3 » 7.x-1.x-dev
Status: Needs review » Patch (to be ported)

Good catch. Marking for port to 7.x

merlinofchaos’s picture

Status: Patch (to be ported) » Closed (duplicate)

All of the 'to be ported' patches got merged in during the porting sprint in September.