Skip to:
Content

BuddyPress.org

Ticket #5603: 5603.patch

File 5603.patch, 600 bytes (added by boonebgorges, 10 years ago)
  • bp-activity/bp-activity-filters.php

    diff --git bp-activity/bp-activity-filters.php bp-activity/bp-activity-filters.php
    index 9c6e5d9..7af356a 100644
    function bp_activity_newest_class( $classes = '' ) { 
    447447 */
    448448function bp_activity_timestamp_class( $classes = '' ) {
    449449
    450         if ( ! bp_activity_do_heartbeat() ) {
    451                 return $classes;
    452         }
    453 
    454450        $activity_date = bp_get_activity_date_recorded();
    455451
    456452        if ( empty( $activity_date ) ) {
    457453                return $classes;
    458454        }
    459        
     455
    460456        $classes .= ' date-recorded-' . strtotime( $activity_date );
    461457
    462458        return $classes;