diff --git a/src/bp-activity/bp-activity-filters.php b/src/bp-activity/bp-activity-filters.php
index 5dc0d4d..b9e5311 100644
a
|
b
|
function bp_activity_truncate_entry( $text ) { |
410 | 410 | * @param bool $maybe_truncate_text If true, text should be checked to see if it needs truncating. |
411 | 411 | * @since BuddyPress (2.3.0) |
412 | 412 | */ |
413 | | $maybe_truncate_text = apply_filters( 'bp_activity_maybe_truncate_entry', |
414 | | ! in_array( $activities_template->activity->type, array( 'new_blog_post', ), true ) |
| 413 | $maybe_truncate_text = apply_filters( |
| 414 | 'bp_activity_maybe_truncate_entry', |
| 415 | isset( $activities_template->activity->type ) && ! in_array( $activities_template->activity->type, array( 'new_blog_post', ), true ) |
415 | 416 | ); |
416 | 417 | |
417 | 418 | // The full text of the activity update should always show on the single activity screen |