Skip to:
Content

BuddyPress.org

Changeset 4679


Ignore:
Timestamp:
07/18/2011 07:12:01 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Fix 'ago' reference that was missed in bp-activity-template.php as part of r4678.

File:
1 edited

Legend:

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

    r4678 r4679  
    708708
    709709        // Insert the time since.
    710         $time_since = apply_filters_ref_array( 'bp_activity_time_since', array( '<span class="time-since">' . sprintf( __( ' %s ago ', 'buddypress' ), bp_core_time_since( $activities_template->activity->date_recorded ) ) . '</span>', &$activities_template->activity ) );
     710        $time_since = apply_filters_ref_array( 'bp_activity_time_since', array( '<span class="time-since">' . bp_core_time_since( $activities_template->activity->date_recorded ) . '</span>', &$activities_template->activity ) );
    711711   
    712712        // Insert the permalink
     
    714714            $content = apply_filters_ref_array( 'bp_activity_permalink', array( sprintf( '%1$s <a href="%2$s" class="view" title="%3$s">%4$s</a>', $content, bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity ), esc_attr__( 'View Discussion', 'buddypress' ), $time_since ), &$activities_template->activity ) );
    715715        else
    716             $content .= $time_since;
     716            $content .= str_pad( $time_since, strlen( $time_since ) + 2, ' ', STR_PAD_BOTH );
    717717
    718718        return apply_filters( 'bp_insert_activity_meta', $content );
Note: See TracChangeset for help on using the changeset viewer.