Skip to:
Content

BuddyPress.org

Ticket #6772: 6772.10.suggestion.patch

File 6772.10.suggestion.patch, 637 bytes (added by imath, 8 years ago)
  • src/bp-activity/bp-activity-embeds.php

    diff --git src/bp-activity/bp-activity-embeds.php src/bp-activity/bp-activity-embeds.php
    index 08a5b13..fceb6e1 100644
    EOD; 
    286286
    287287                        // Show description (non-oEmbed standard)
    288288                        if ( isset( $oembed->description ) ) {
    289                                 $caption .= sprintf( '<div class="caption-description">%s</div>', apply_filters( 'bp_get_activity_action', $oembed->description ) );
     289                                $caption .= sprintf( '<div class="caption-description">%s</div>', apply_filters( 'bp_activity_get_embed_excerpt', $oembed->description ) );
    290290                        }
    291291
    292292                        // Show author info.