Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:00:36 AM (17 months ago)
Author:
djpaul
Message:

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/group-header.php

    r12082 r12104  
    2424    <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p>
    2525
    26     <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></p>
     26    <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>">
     27        <?php
     28        echo esc_html(
     29            sprintf(
     30                /* translators: %s = last activity timestamp (e.g. "active 1 hour ago") */
     31                __( 'active %s', 'buddypress' ),
     32                bp_get_group_last_active()
     33            )
     34        );
     35        ?>
     36    </p>
    2737
    2838    <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?>
Note: See TracChangeset for help on using the changeset viewer.