Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/06/2011 04:24:46 PM (15 years ago)
Author:
djpaul
Message:

Tweak BP_Embed implementation; fix caching and PHP warning. Fixes #3429, props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r4920 r4937  
    340340        exit(); // todo: error?
    341341
    342     // Activity content retrieved through AJAX should run through normal filters, but not be
    343     // truncated
     342    do_action_ref_array( 'bp_dtheme_get_single_activity_content', array( &$activity ) );
     343
     344    // Activity content retrieved through AJAX should run through normal filters, but not be truncated
    344345    remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 );
    345346    $content = apply_filters( 'bp_get_activity_content_body', $activity->content );
    346347
    347348    echo $content;
    348 
    349349    exit();
    350350}
Note: See TracChangeset for help on using the changeset viewer.