Ticket #4312: bp-activity-template.diff
File bp-activity-template.diff, 782 bytes (added by , 12 years ago) |
---|
-
bp-activity/bp-activity-template.php
2222 2222 2223 2223 $can_comment = true; 2224 2224 2225 if ( false === $activities_template->disable_blogforum_replies || (int) $activities_template->disable_blogforum_replies ) {2225 if ( false === $activities_template->disable_blogforum_replies || (int) $activities_template->disable_blogforum_replies == 0 ) { 2226 2226 if ( 'new_blog_post' == bp_get_activity_action_name() || 'new_blog_comment' == bp_get_activity_action_name() || 'new_forum_topic' == bp_get_activity_action_name() || 'new_forum_post' == bp_get_activity_action_name() ) 2227 2227 $can_comment = false; 2228 2228 }