Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/22/2011 08:30:54 PM (14 years ago)
Author:
djpaul
Message:

Remove remaining · from templates.
Normalise output of bp_get_member_latest_update() and bp_get_activity_latest_update().
Swapped remaing $bp->activity->root_slug for bp_get_activity_root_slug(). See #3325

File:
1 edited

Legend:

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

    r4804 r4809  
    545545            return false;
    546546
    547         $update_content = apply_filters( 'bp_get_activity_latest_update', strip_tags( bp_create_excerpt( $update['content'], $length ) ) );
     547        $update_content = apply_filters( 'bp_get_activity_latest_update', '"' . trim( strip_tags( bp_create_excerpt( $update['content'], $length ) ) ) . '"' );
    548548
    549549        if ( !empty( $update['id'] ) && bp_is_active( 'activity' ) )
    550             $update_content .= ' &middot; <a href="' . bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $update['id'] . '">' . __( 'View', 'buddypress' ) . '</a>';
     550            $update_content .= ' <a href="' . bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $update['id'] . '">' . __( 'View', 'buddypress' ) . '</a>';
    551551
    552552        return apply_filters( 'bp_get_member_latest_update', $update_content );
Note: See TracChangeset for help on using the changeset viewer.