Ticket #1604: trailing-whitespace.patch
File trailing-whitespace.patch, 767 bytes (added by , 16 years ago) |
---|
-
bp-activity-templatetags.php
570 570 if ( !$update = get_usermeta( $user_id, 'bp_latest_update' ) ) 571 571 return false; 572 572 573 $latest_update = '"' . strip_tags( bp_create_excerpt( $update['content'], 40) ) . '"';573 $latest_update = '"' . chop( strip_tags( bp_create_excerpt( $update['content'], 40 ) ) ) . '"'; 574 574 $latest_update .= ' · <a href="' . $bp->root_domain . '/' . BP_ACTIVITY_SLUG . '/p/' . $update['id'] . '/"> ' . __( 'View Thread', 'buddypress' ) . '</a>'; 575 575 576 576 return apply_filters( 'bp_get_activity_latest_update', $latest_update );