Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2024 08:33:36 PM (9 months 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-blog.php

    r13421 r13802  
    198198        // Backward compatibility with old method of passing arguments.
    199199        if ( ! is_array( $args[0] ) || count( $args ) > 1 ) {
    200             _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__ ) );
     200            _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__ ) );
    201201
    202202            $old_args_keys = [
Note: See TracChangeset for help on using the changeset viewer.