Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/29/2024 06:50:42 PM (19 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/send-invites.php

    r13156 r13822  
    2323elseif ( bp_get_new_group_invite_friend_list() ) : ?>
    2424
    25     <h2 class="bp-screen-reader-text"><?php _e( 'Send invites', 'buddypress' ); ?></h2>
     25    <h2 class="bp-screen-reader-text"><?php esc_html_e( 'Send invites', 'buddypress' ); ?></h2>
    2626
    2727    <?php /* 'send-invite-form' is important for AJAX support */ ?>
     
    4848
    4949    <div id="message" class="info">
    50         <p class="notice"><?php _e( 'Group invitations can only be extended to friends.', 'buddypress' ); ?></p>
    51         <p class="message-body"><?php _e( "Once you've made some friendships, you'll be able to invite those members to this group.", 'buddypress' ); ?></p>
     50        <p class="notice"><?php esc_html_e( 'Group invitations can only be extended to friends.', 'buddypress' ); ?></p>
     51        <p class="message-body"><?php esc_html_e( "Once you've made some friendships, you'll be able to invite those members to this group.", 'buddypress' ); ?></p>
    5252    </div>
    5353
     
    5757
    5858    <div id="message" class="info">
    59         <p class="notice"><?php _e( 'All of your friends already belong to this group.', 'buddypress' ); ?></p>
     59        <p class="notice"><?php esc_html_e( 'All of your friends already belong to this group.', 'buddypress' ); ?></p>
    6060    </div>
    6161
Note: See TracChangeset for help on using the changeset viewer.