Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/29/2024 06:50:42 PM (20 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/members/single/notifications/feedback-no-notifications.php

    r12082 r13822  
    1515        <?php if ( bp_is_my_profile() ) : ?>
    1616
    17             <p><?php _e( 'You have no unread notifications.', 'buddypress' ); ?></p>
     17            <p><?php esc_html_e( 'You have no unread notifications.', 'buddypress' ); ?></p>
    1818
    1919        <?php else : ?>
    2020
    21             <p><?php _e( 'This member has no unread notifications.', 'buddypress' ); ?></p>
     21            <p><?php esc_html_e( 'This member has no unread notifications.', 'buddypress' ); ?></p>
    2222
    2323        <?php endif; ?>
     
    2727        <?php if ( bp_is_my_profile() ) : ?>
    2828
    29             <p><?php _e( 'You have no notifications.', 'buddypress' ); ?></p>
     29            <p><?php esc_html_e( 'You have no notifications.', 'buddypress' ); ?></p>
    3030
    3131        <?php else : ?>
    3232
    33             <p><?php _e( 'This member has no notifications.', 'buddypress' ); ?></p>
     33            <p><?php esc_html_e( 'This member has no notifications.', 'buddypress' ); ?></p>
    3434
    3535        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.