If I go into admin/settings/content types and disable comments for a given node type, it has no effect. I verified when I put a print $node->comment in node.php::node_show right when it is about to call comment_render that $node->comment remains at "2", even though in admin/settings/content types it is set to 0.

Comments

greggles’s picture

I believe that setting is only meant to apply for new content.

When you did your print debugging statement, was it on a node created before or after you changed the setting?

jbrauer’s picture

Priority: Normal » Minor
Status: Active » Closed (works as designed)

The settings in admin/settings/content types are "Default" settings for anything published in the future. Perhaps a line of explanation would help here that says "this only applies to new content".