Changeset 13135 for trunk/src/bp-activity/bp-activity-functions.php
- Timestamp:
- 11/01/2021 05:43:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r13128 r13135 2312 2312 $activity = new BP_Activity_Activity( $activity_id ); 2313 2313 2314 // Check if the Post author has changed. 2315 if ( (int) $post->post_author !== (int) $activity->user_id ) { 2316 $activity->user_id = (int) $post->post_author; 2317 } 2318 2314 2319 if ( ! empty( $post->post_content ) ) { 2315 2320 $activity_summary = bp_activity_create_summary( $post->post_content, (array) $activity );
Note: See TracChangeset
for help on using the changeset viewer.