Changeset 10831
- Timestamp:
- 05/31/2016 06:45:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r10825 r10831 3227 3227 3228 3228 // Generate a text excerpt for this activity item (and remove any oEmbeds URLs). 3229 $summary = strip_shortcodes( html_entity_decode( strip_tags( $content ) ) ); 3230 $summary = bp_create_excerpt( preg_replace( '#^\s*(https?://[^\s"]+)\s*$#im', '', $summary ) ); 3229 $summary = bp_create_excerpt( html_entity_decode( $content ), 225, array( 3230 'html' => false, 3231 'filter_shortcodes' => true, 3232 'strip_tags' => true, 3233 'remove_links' => true 3234 ) ); 3231 3235 3232 3236 if ( $use_media_type === 'embeds' ) {
Note: See TracChangeset
for help on using the changeset viewer.