Skip to:
Content

BuddyPress.org

Changeset 2460 for trunk/bp-core.php


Ignore:
Timestamp:
01/26/2010 05:49:48 PM (14 years ago)
Author:
apeatling
Message:

Fixed forum post activity tracking, now links directly to the forum post. Only show post form on the last page of posts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r2451 r2460  
    14631463        $last_active = __( 'not recently active', 'buddypress' );
    14641464    } else {
    1465         if ( strstr( $last_activity_date, '-' ) ) {
    1466             $last_active = bp_core_time_since( strtotime( $last_activity_date ) );
    1467         } else {
    1468             $last_active = bp_core_time_since( $last_activity_date );
    1469         }
    1470 
    1471         $last_active = sprintf( $string, $last_active );
     1465        $last_active = sprintf( $string, bp_core_time_since( $last_activity_date ) );
    14721466    }
    14731467
Note: See TracChangeset for help on using the changeset viewer.