Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/29/2024 06:50:42 PM (21 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/settings/notifications.php

    r13443 r13822  
    1111do_action( 'bp_before_member_settings_template' ); ?>
    1212
    13 <h2 class="bp-screen-reader-text"><?php
    14     /* translators: accessibility text */
    15     _e( 'Notification settings', 'buddypress' );
    16 ?></h2>
     13<h2 class="bp-screen-reader-text">
     14    <?php
     15        /* translators: accessibility text */
     16        esc_html_e( 'Notification settings', 'buddypress' );
     17    ?>
     18</h2>
    1719
    1820<form action="<?php bp_displayed_user_link( array( bp_get_settings_slug(), 'notifications' ) ); ?>" method="post" class="standard-form" id="settings-form">
    19     <p><?php _e( 'Send an email notice when:', 'buddypress' ); ?></p>
     21    <p><?php esc_html_e( 'Send an email notice when:', 'buddypress' ); ?></p>
    2022
    2123    <?php
Note: See TracChangeset for help on using the changeset viewer.