Skip to:
Content

BuddyPress.org

Changeset 1192


Ignore:
Timestamp:
03/09/2009 10:11:41 PM (16 years ago)
Author:
apeatling
Message:

Fixes #575

File:
1 edited

Legend:

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

    r1152 r1192  
    188188    if ( !$content || !$date )
    189189        return false;
    190        
     190
     191    // Make sure we don't have any URL encoding in links when trying to insert the time.
     192    $content = urldecode($content);
     193   
    191194    return apply_filters( 'bp_activity_insert_time_since', @sprintf( $content, @sprintf( __( '  %s ago', 'buddypress' ), bp_core_time_since( strtotime( $date ) ) ) ) );
    192195}
Note: See TracChangeset for help on using the changeset viewer.