Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2024 10:08:00 PM (5 months 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/members/single/parts/profile-visibility.php

    r12156 r13820  
    1919        printf(
    2020            /* translators: field visibility level, e.g. "...seen by: everyone". */
    21             __( 'This field may be seen by: %s', 'buddypress' ),
    22             '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
     21            esc_html__( 'This field may be seen by: %s', 'buddypress' ),
     22            '<span class="current-visibility-level">' . esc_html( bp_get_the_profile_field_visibility_level_label() ) . '</span>'
    2323        );
    2424        ?>
     
    4343        printf(
    4444            esc_html__( 'This field may be seen by: %s', 'buddypress' ),
    45             '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
     45            '<span class="current-visibility-level">' . esc_html( bp_get_the_profile_field_visibility_level_label() ) . '</span>'
    4646        );
    4747        ?>
Note: See TracChangeset for help on using the changeset viewer.