Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/29/2024 06:50:42 PM (9 months ago)
Author:
imath
Message:

BP Legacy: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

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

    r13437 r13822  
    6464                    <?php
    6565                    /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
    66                     printf( __( 'Active %s', 'buddypress' ), bp_get_group_last_active() );
     66                    printf( esc_html__( 'Active %s', 'buddypress' ), esc_html( bp_get_group_last_active() ) );
    6767                    ?>
    6868                </span>
     
    7878            <?php if ( bp_group_is_visible() ) : ?>
    7979
    80                 <h2><?php _e( 'Group Admins', 'buddypress' ); ?></h2>
     80                <h2><?php esc_html_e( 'Group Admins', 'buddypress' ); ?></h2>
    8181
    8282                <?php bp_group_list_admins();
     
    9898                    do_action( 'bp_before_group_menu_mods' ); ?>
    9999
    100                     <h2><?php _e( 'Group Mods' , 'buddypress' ); ?></h2>
     100                    <h2><?php esc_html_e( 'Group Mods' , 'buddypress' ); ?></h2>
    101101
    102102                    <?php bp_group_list_mods();
Note: See TracChangeset for help on using the changeset viewer.