Ticket #6494: 6494.03.patch
File 6494.03.patch, 899 bytes (added by , 10 years ago) |
---|
-
src/bp-blogs/bp-blogs-functions.php
655 655 // record comment as BP activity comment under the parent 'new_blog_post' 656 656 // activity item 657 657 } else { 658 // this is a comment edit659 658 // check to see if corresponding activity entry already exists 660 if ( ! empty( $_REQUEST['action'] ) ) { 661 $existing_activity_id = get_comment_meta( $comment_id, 'bp_activity_comment_id', true ); 662 663 if ( ! empty( $existing_activity_id ) ) { 664 $args['id'] = $existing_activity_id; 665 } 659 $existing_activity_id = get_comment_meta( $comment_id, 'bp_activity_comment_id', true ); 660 if ( ! empty( $existing_activity_id ) ) { 661 $args['id'] = $existing_activity_id; 666 662 } 667 663 668 664 // find the parent 'new_blog_post' activity entry