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-core-widgets.php

    r3825 r3842  
    565565
    566566                        <li>
    567                             <a class="bbp-forum-title" href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>"><?php bbp_topic_title(); ?></a><?php if ( $show_date == 'on' ) printf( __( ', %s ago', 'bbpress' ), bbp_get_topic_last_active_time() ); ?>
     567                            <a class="bbp-forum-title" href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>"><?php bbp_topic_title(); ?></a><?php if ( 'on' == $show_date ) bbp_get_topic_last_active_time(); ?>
    568568                        </li>
    569569
     
    594594                    <?php foreach ( $topics as $topic_id => $topic_reply_count ) : ?>
    595595
    596                         <li><a class="bbp-topic-title" href="<?php bbp_topic_permalink( $topic_id ); ?>" title="<?php bbp_topic_title( $topic_id ); ?>"><?php bbp_topic_title( $topic_id ); ?></a><?php if ( $show_date == 'on' ) printf( __( ', %s ago', 'bbpress' ), bbp_get_topic_last_active_time( $topic_id ) ); ?></li>
     596                        <li><a class="bbp-topic-title" href="<?php bbp_topic_permalink( $topic_id ); ?>" title="<?php bbp_topic_title( $topic_id ); ?>"><?php bbp_topic_title( $topic_id ); ?></a><?php if ( 'on' == $show_date ) bbp_get_topic_last_active_time( $topic_id ); ?></li>
    597597
    598598                    <?php
Note: See TracChangeset for help on using the changeset viewer.