Skip to:
Content

BuddyPress.org

Changeset 4863


Ignore:
Timestamp:
07/25/2011 11:15:31 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove hard-coded quotes from bp_get_activity_latest_update()

File:
1 edited

Legend:

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

    r4849 r4863  
    12861286            return false;
    12871287
    1288         $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', '"' . trim( strip_tags( bp_create_excerpt( $update['content'], 358 ) ) ) . '"' );
     1288        $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', trim( strip_tags( bp_create_excerpt( $update['content'], 358 ) ) ) );
    12891289        $latest_update .= ' <a href="' . bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $update['id'] . '/"> ' . __( 'View', 'buddypress' ) . '</a>';
    12901290
Note: See TracChangeset for help on using the changeset viewer.