Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/18/2013 08:30:26 PM (11 years ago)
Author:
boonebgorges
Message:

Pass activity arguments through to bp_activity_thumbnail_content_images()

This allows plugin authors greater flexibility when modifying a post's
thumbnail image as it'll appear in the blog activity stream, by filtering
'bp_activity_thumbnail_content_images'.

Fixes #5060

Props dcowgill

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-activity.php

    r7076 r7222  
    7474    // Remove large images and replace them with just one image thumbnail
    7575    if ( !empty( $content ) )
    76         $content = bp_activity_thumbnail_content_images( $content, $primary_link );
     76        $content = bp_activity_thumbnail_content_images( $content, $primary_link, $r );
    7777
    7878    if ( !empty( $action ) )
Note: See TracChangeset for help on using the changeset viewer.