Changeset 8929
- Timestamp:
- 08/16/2014 12:23:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-functions.php
r8763 r8929 572 572 // update the activity entry 573 573 $activity = new BP_Activity_Activity( $activity_id ); 574 $activity->content = $post->post_content; 574 575 if ( ! empty( $post->post_content ) ) { 576 // Make sure to update the thumbnail image 577 $post_content = bp_activity_thumbnail_content_images( $post->post_content, $activity->primary_link, (array) $activity ); 578 579 // Make sure to apply the blop post excerpt 580 $activity->content = apply_filters( 'bp_blogs_record_activity_content', bp_create_excerpt( $post_content ), $post_content, (array) $activity ); 581 } 582 583 // Save the updated activity 575 584 $activity->save(); 576 585
Note: See TracChangeset
for help on using the changeset viewer.