The usefulness of theme_nodecomment_wrapper is limited by the amount of information available to the theme function. If the $node object were passed into the theme function, much more information would be available to add, such as the current number of comments, node type, comment type, node title, etc. All that information allows the theme to do something more than just wrapping a div around the comments.

Patch attached.

CommentFileSizeAuthor
nodecomment-wrapper.patch892 bytesquicksketch

Comments

quicksketch’s picture

Status: Needs review » Fixed

Eaton committed to 5.x beta. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)