Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/26/2024 05:44:26 AM (12 months ago)
Author:
imath
Message:

Groups component: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-group-members-template.php

    r13446 r13808  
    122122        if ( ! is_array( $args ) || count( $function_args ) > 1 ) {
    123123            /* translators: 1: the name of the method. 2: the name of the file. */
    124             _deprecated_argument( __METHOD__, '2.0.0', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
     124            _deprecated_argument( __METHOD__, '2.0.0', sprintf( esc_html__( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
    125125
    126126            $old_args_keys = array(
Note: See TracChangeset for help on using the changeset viewer.