WAtch out! The author info page for this one points to a dead end because the plugin injects a malicious Psyme.QM trojan downlaoder. DO NOT INSTALL THIS PLUGIN!
WAtch out! The author info page for this one points to a dead end because the plugin injects a malicious Psyme.QM trojan downlaoder. DO NOT INSTALL THIS PLUGIN!
Aheh... Exactly in which of the 10 lines of source code, does this, in your opinion, happen?
function ncop_comments_open_filter($open, $post_id=null)
{
return $open && get_post($post_id)->post_type !== 'page';
}
function ncop_comments_template_filter($file)
{
return is_page() ? dirname(__FILE__).'/empty' : $file;
}
add_filter('comments_open', 'ncop_comments_open_filter', 10, 2);
add_filter('comments_template', 'ncop_comments_template_filter', 10, 1);
Idiot.
Ditto. It is just fine as far as I can tell ...
This topic has been closed to new replies.