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/profile/profile-wp.php

    r12156 r13820  
    1818            printf(
    1919                /* Translators: a member's profile, e.g. "Paul's profile". */
    20                 __( "%s's Profile", 'buddypress' ),
    21                 bp_get_displayed_user_fullname()
     20                esc_html__( "%s's Profile", 'buddypress' ),
     21                // phpcs:ignore WordPress.Security.EscapeOutput
     22                bp_get_displayed_user_fullname() // Escaped in `bp-members/bp-members-filters.php`.
    2223            );
    2324        }
Note: See TracChangeset for help on using the changeset viewer.