Ticket #1264: password-protect-comments-out-of-activity.patch
| File password-protect-comments-out-of-activity.patch, 476 bytes (added by , 17 years ago) |
|---|
-
bp-blogs.php
446 446 if ( !$user_id ) 447 447 return false; 448 448 449 $post_id = (int)$comment->comment_post_ID; 450 $post = get_post($post_id); 451 452 if ( '' != $post->post_password ) 453 return false; 454 449 455 $recorded_comment = new BP_Blogs_Comment; 450 456 $recorded_comment->user_id = $user_id; 451 457 $recorded_comment->blog_id = $wpdb->blogid;