Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/27/2018 04:52:27 PM (8 years ago)
Author:
imath
Message:

BP Nouveau: use Moment.js & Livestamp.js to update activity timestamps

Before these two JavaScript libraries were introduced in BuddyPress Core (2.7.0), i added some custom JavaScript code to perform the dynamic activity timestamp update task. Now these two libraries are available and do the job way better, it is about time to say goodbye to this code.

Fixes #7772

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/activity/loader.php

    r11902 r12002  
    9797                add_filter( 'bp_get_activity_action_pre_meta', 'bp_nouveau_activity_secondary_avatars', 10, 2 );
    9898                add_filter( 'bp_get_activity_css_class', 'bp_nouveau_activity_scope_newest_class', 10, 1 );
    99                 add_filter( 'bp_activity_time_since', 'bp_nouveau_activity_time_since', 10, 2 );
    100                 add_filter( 'bp_activity_allowed_tags', 'bp_nouveau_activity_allowed_tags', 10, 1 );
    10199        }
    102100}
Note: See TracChangeset for help on using the changeset viewer.