Changeset 9621 for trunk/src/bp-blogs/bp-blogs-activity.php
- Timestamp:
- 03/16/2015 06:59:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r9471 r9621 353 353 $r = wp_parse_args( $args, $defaults ); 354 354 355 // Remove large images and replace them with just one image thumbnail356 if ( ! empty( $r['content'] ) ) {357 $r['content'] = bp_activity_thumbnail_content_images( $r['content'], $r['primary_link'], $r );358 }359 360 355 if ( ! empty( $r['action'] ) ) { 361 356 … … 377 372 * @since BuddyPress (1.2.0) 378 373 * 379 * @param string $value Generated excerptfrom content for the activity stream.374 * @param string $value Generated summary from content for the activity stream. 380 375 * @param string $value Content for the activity stream. 381 376 * @param array $r Array of arguments used for the activity stream item. 382 377 */ 383 $r['content'] = apply_filters( 'bp_blogs_record_activity_content', bp_ create_excerpt( $r['content']), $r['content'], $r );378 $r['content'] = apply_filters( 'bp_blogs_record_activity_content', bp_activity_create_summary( $r['content'], $r ), $r['content'], $r ); 384 379 } 385 380
Note: See TracChangeset
for help on using the changeset viewer.