Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/28/2020 01:39:38 PM (5 years ago)
Author:
imath
Message:

BP Groups: add missing /* translators */ comments

See #8260

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-functions.php

    r12540 r12590  
    695695    // Backward compatibility with old method of passing arguments.
    696696    if ( ! is_array( $args ) || count( $function_args ) > 1 ) {
     697        /* translators: 1: the name of the method. 2: the name of the file. */
    697698        _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__ ) );
    698699
     
    20792080
    20802081    if ( ! empty( $membership_id ) ) {
    2081         _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s  is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
     2082        /* translators: 1: the name of the method. 2: the name of the file. */
     2083        _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
    20822084    }
    20832085
     
    21492151function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
    21502152    if ( ! empty( $membership_id ) ){
     2153        /* translators: 1: method name. 2: file name. */
    21512154        _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s  is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
    21522155    }
Note: See TracChangeset for help on using the changeset viewer.