Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/15/2012 03:42:34 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Update bbp_get_time_since() to work like BuddyPress and bbPress 1.0.

  • years/months/weeks/days/hours/minutes/seconds ago
  • Remove 'ago' references in bbp-includes and bbp-admin to prevent duplicates
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-forum-template.php

    r3840 r3842  
    18461846            // Category
    18471847            if ( bbp_is_forum_category( $forum_id ) ) {
    1848                 $retstr = sprintf( __( 'This category contains %1$s and %2$s, and was last updated by %3$s %4$s ago.', 'bbpress' ), $topic_count, $reply_count, $last_updated_by, $time_since );
     1848                $retstr = sprintf( __( 'This category contains %1$s and %2$s, and was last updated by %3$s %4$s.', 'bbpress' ), $topic_count, $reply_count, $last_updated_by, $time_since );
    18491849
    18501850            // Forum
    18511851            } else {
    1852                 $retstr = sprintf( __( 'This forum contains %1$s and %2$s, and was last updated by %3$s %4$s ago.',    'bbpress' ), $topic_count, $reply_count, $last_updated_by, $time_since );
     1852                $retstr = sprintf( __( 'This forum contains %1$s and %2$s, and was last updated by %3$s %4$s.',    'bbpress' ), $topic_count, $reply_count, $last_updated_by, $time_since );
    18531853            }
    18541854
Note: See TracChangeset for help on using the changeset viewer.