Skip to:
Content

BuddyPress.org

Changeset 2361


Ignore:
Timestamp:
01/19/2010 03:40:59 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1604 - trailing whitespace on latest update. Props jivany.

File:
1 edited

Legend:

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

    r2358 r2361  
    589589            return false;
    590590
    591         $latest_update = '"' . strip_tags( bp_create_excerpt( $update['content'], 40 ) ) . '"';
     591        $latest_update = '"' . trim( strip_tags( bp_create_excerpt( $update['content'], 40 ) ) ) . '"';
    592592        $latest_update .= ' &middot; <a href="' . $bp->root_domain . '/' . BP_ACTIVITY_SLUG . '/p/' . $update['id'] . '/"> ' . __( 'View', 'buddypress' ) . '</a>';
    593593
Note: See TracChangeset for help on using the changeset viewer.