Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2024 08:33:36 PM (2 years ago)
Author:
imath
Message:

Blogs component: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/classes/class-bp-blogs-template.php

    r13405 r13802  
    103103        // Backward compatibility with old method of passing arguments.
    104104        if ( ! is_array( $args[0] ) || count( $args ) > 1 ) {
    105             _deprecated_argument( __METHOD__, '10.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__ ) );
     105            _deprecated_argument( __METHOD__, '10.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__ ) );
    106106
    107107            $old_args_keys = [
Note: See TracChangeset for help on using the changeset viewer.