- Timestamp:
- 06/01/2024 10:25:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-members-suggestions.php
r13372 r13888 39 39 ); 40 40 41 42 41 /** 43 42 * Validate and sanitise the parameters for the suggestion service query. … … 58 57 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. 59 58 */ 60 $this->args = apply_filters( 'bp_members_suggestions_args', $this->args, $this );59 $this->args = apply_filters( 'bp_members_suggestions_args', $this->args, $this ); 61 60 62 61 // Check for invalid or missing mandatory parameters. … … 113 112 } 114 113 115 116 114 $user_query = new BP_User_Query( $user_query ); 117 115 $results = array(); … … 120 118 $result = new stdClass(); 121 119 $result->ID = $user->user_nicename; 122 $result->image = bp_core_fetch_avatar( array( 'html' => false, 'item_id' => $user->ID ) ); 120 $result->image = bp_core_fetch_avatar( 121 array( 122 'html' => false, 123 'item_id' => $user->ID, 124 ) 125 ); 123 126 $result->name = bp_core_get_user_displayname( $user->ID ); 124 127 $result->user_id = $user->ID;
Note: See TracChangeset
for help on using the changeset viewer.