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-reply-template.php

    r3840 r3842  
    608608            $r .= "\t" . '<li id="bbp-reply-revision-log-' . $reply_id . '-item-' . $revision->ID . '" class="bbp-reply-revision-log-item">' . "\n";
    609609            if ( !empty( $reason ) ) {
    610                 $r .= "\t\t" . sprintf( __( 'This reply was modified %1$s ago by %2$s. Reason: %3$s', 'bbpress' ), $since, $author, $reason ) . "\n";
     610                $r .= "\t\t" . sprintf( __( 'This reply was modified %1$s by %2$s. Reason: %3$s', 'bbpress' ), $since, $author, $reason ) . "\n";
    611611            } else {
    612                 $r .= "\t\t" . sprintf( __( 'This reply was modified %1$s ago by %2$s.', 'bbpress' ), $since, $author ) . "\n";
     612                $r .= "\t\t" . sprintf( __( 'This reply was modified %1$s by %2$s.', 'bbpress' ), $since, $author ) . "\n";
    613613            }
    614614            $r .= "\t" . '</li>' . "\n";
Note: See TracChangeset for help on using the changeset viewer.