Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/22/2021 03:16:06 AM (3 years ago)
Author:
espellcaste
Message:

Marking deprecated query classes, their methods, arguments as deprecated in the BP_Friends_Friendship and BP_Friends_Friendship classes.

Props imath

Fixes #8554 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/classes/class-bp-messages-thread.php

    r12984 r13086  
    450450        // Backward compatibility with old method of passing arguments.
    451451        if ( ! is_array( $args ) || count( $function_args ) > 1 ) {
    452             _deprecated_argument( __METHOD__, '2.2.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__ ) );
     452            _deprecated_argument(
     453                __METHOD__,
     454                '2.2.0',
     455                sprintf(
     456                    /* translators: 1: the name of the method. 2: the name of the file. */
     457                    esc_html__( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ),
     458                    __METHOD__,
     459                    __FILE__
     460                )
     461            );
    453462
    454463            $old_args_keys = array(
Note: See TracChangeset for help on using the changeset viewer.