Changeset 12590 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 03/28/2020 01:39:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r12540 r12590 695 695 // Backward compatibility with old method of passing arguments. 696 696 if ( ! is_array( $args ) || count( $function_args ) > 1 ) { 697 /* translators: 1: the name of the method. 2: the name of the file. */ 697 698 _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__ ) ); 698 699 … … 2079 2080 2080 2081 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__ ) ); 2082 2084 } 2083 2085 … … 2149 2151 function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) { 2150 2152 if ( ! empty( $membership_id ) ){ 2153 /* translators: 1: method name. 2: file name. */ 2151 2154 _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__ ) ); 2152 2155 }
Note: See TracChangeset
for help on using the changeset viewer.