Skip to:
Content

BuddyPress.org


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

Swap '0 seconds ago' out for 'right now.' Includes changes to bp_core_time_since() and removes references to 'ago' as needed to avoid possible 'right now ago' condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-widgets.php

    r4648 r4678  
    6565                                <?php
    6666                                    if ( 'newest' == $instance['group_default'] )
    67                                         printf( __( 'created %s ago', 'buddypress' ), bp_get_group_date_created() );
     67                                        printf( __( 'created %s', 'buddypress' ), bp_get_group_date_created() );
    6868                                    if ( 'active' == $instance['group_default'] )
    69                                         printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() );
     69                                        printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() );
    7070                                    else if ( 'popular' == $instance['group_default'] )
    7171                                        bp_group_member_count();
     
    165165                                <?php
    166166                                if ( 'newest-groups' == $_POST['filter'] ) {
    167                                     printf( __( 'created %s ago', 'buddypress' ), bp_get_group_date_created() );
     167                                    printf( __( 'created %s', 'buddypress' ), bp_get_group_date_created() );
    168168                                } else if ( 'recently-active-groups' == $_POST['filter'] ) {
    169                                     printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() );
     169                                    printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() );
    170170                                } else if ( 'popular-groups' == $_POST['filter'] ) {
    171171                                    bp_group_member_count();
Note: See TracChangeset for help on using the changeset viewer.