Closed (works as designed)
Project:
Drupal core
Version:
x.y.z
Component:
comment.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2006 at 22:15 UTC
Updated:
17 Jan 2006 at 23:45 UTC
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
Comment #1
gregglesI 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?
Comment #2
jbrauer commentedThe 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".