Changeset 13897 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 06/02/2024 05:52:42 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r13844 r13897 3205 3205 * @param int $user_id ID of the queried user. 3206 3206 */ 3207 $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', trim( strip_tags( bp_create_excerpt( $update['content'], bp_activity_get_excerpt_length()) ) ), $user_id );3207 $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', ) ) ), $user_id ); 3208 3208 3209 3209 $latest_update = sprintf( … … 4196 4196 4197 4197 $content = explode( '<span', $content ); 4198 $title = strip_tags( ent2ncr( trim( convert_chars( $content[0] ) ) ) );4198 $title = _tags( ent2ncr( trim( convert_chars( $content[0] ) ) ) ); 4199 4199 4200 4200 if ( ':' === substr( $title, -1 ) ) { … … 4203 4203 4204 4204 if ( 'activity_update' === $activities_template->activity->type ) { 4205 $title .= ': ' . strip_tags( ent2ncr( trim( convert_chars( bp_create_excerpt( $activities_template->activity->content, 70, array( 'ending' => " […]" ) ) ) ) ) );4205 $title .= ': ' . _tags( ent2ncr( trim( convert_chars( bp_create_excerpt( $activities_template->activity->content, 70, array( 'ending' => " […]" ) ) ) ) ) ); 4206 4206 } 4207 4207
Note: See TracChangeset
for help on using the changeset viewer.