Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2024 10:08:00 PM (2 years ago)
Author:
imath
Message:

BP Nouveau: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

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

    r13437 r13820  
    2626
    2727                                <?php if ( bp_nouveau_group_has_meta( 'status' ) ) : ?>
    28                                         <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_the_group_meta( array( 'keys' => 'status' ) ) ); ?></strong></p>
     28                                        <p class="highlight group-status"><strong><?php bp_nouveau_the_group_meta( array( 'keys' => 'status' ) ); ?></strong></p>
    2929                                <?php endif; ?>
    3030
    … …  
    3636                                                        sprintf(
    3737                                                                '<span data-livestamp="%1$s">%2$s</span>',
    38                                                                 bp_core_get_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ),
     38                                                                esc_attr( bp_core_get_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ) ),
    3939                                                                esc_html( bp_get_group_last_active() )
    4040                                                        )
    … …  
    6161                                        <div class="item-meta">
    6262
    63                                                 <?php echo bp_nouveau_the_group_meta( array( 'keys' => 'extra' ) ); ?>
     63                                                <?php bp_nouveau_the_group_meta( array( 'keys' => 'extra' ) ); ?>
    6464
    6565                                        </div><!-- .item-meta -->
Note: See TracChangeset for help on using the changeset viewer.