Skip to:
Content

Ignore:
Timestamp:
09/13/2016 09:19:59 PM (3 years ago)
Author:
r-a-y
Message:

bp-legacy: Add data-livestamp attribute to member header.

Missed this instance during initial implementation of livestamp.js.

See #5757.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php

    r10296 r11098  
    4545                do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons -->
    4646
    47             <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
     47            <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_user_last_activity( bp_displayed_user_id() ) ); ?>"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    4848
    4949            <?php
Note: See TracChangeset for help on using the changeset viewer.