- Timestamp:
- 08/22/2021 03:16:06 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-activity.php
r12604 r13086 384 384 385 385 // Backward compatibility with old method of passing arguments. 386 if ( ! is_array( $args ) || count( $function_args ) > 1 ) {386 if ( ! is_array( $args ) || count( $function_args ) > 1 ) { 387 387 _deprecated_argument( 388 388 __METHOD__, … … 390 390 sprintf( 391 391 /* translators: 1: the name of the method. 2: the name of the file. */ 392 __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ),392 esc_html__( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), 393 393 __METHOD__, 394 394 __FILE__ … … 1156 1156 */ 1157 1157 public static function get_specific( $activity_ids, $max = false, $page = 1, $per_page = 25, $sort = 'DESC', $display_comments = false ) { 1158 _deprecated_function( __FUNCTION__, '1.5', 'Use BP_Activity_Activity::get() with the "in" parameter instead.' ); 1158 _deprecated_function( 1159 __FUNCTION__, 1160 '1.5', 1161 'Use BP_Activity_Activity::get() with the "in" parameter instead.' 1162 ); 1163 1159 1164 return BP_Activity_Activity::get( $max, $page, $per_page, $sort, false, false, $display_comments, false, false, $activity_ids ); 1160 1165 }
Note: See TracChangeset
for help on using the changeset viewer.