diff --git src/bp-activity/bp-activity-functions.php src/bp-activity/bp-activity-functions.php
index 399faff7d..ed5705512 100644
|
|
function bp_activity_post_type_update( $post = null ) { |
2303 | 2303 | // Update the activity entry. |
2304 | 2304 | $activity = new BP_Activity_Activity( $activity_id ); |
2305 | 2305 | |
| 2306 | // Check if the Post author has changed. |
| 2307 | if ( (int) $post->post_author !== (int) $activity->user_id ) { |
| 2308 | $activity->user_id = (int) $post->post_author; |
| 2309 | } |
| 2310 | |
2306 | 2311 | if ( ! empty( $post->post_content ) ) { |
2307 | 2312 | $activity_summary = bp_activity_create_summary( $post->post_content, (array) $activity ); |
2308 | 2313 | |