Ticket #7578: 7578.01.patch
File 7578.01.patch, 537 bytes (added by , 7 years ago) |
---|
-
src/bp-core/bp-core-avatars.php
1400 1400 $args['item_id'] = $user->ID; 1401 1401 $args['html'] = false; 1402 1402 1403 // Use the 'full' type if size is larger than BP's thumb width. 1404 if ( (int) $args['size'] > bp_core_avatar_thumb_width() ) { 1405 $args['type'] = 'full'; 1406 } 1407 1403 1408 // Get the BuddyPress avatar URL. 1404 1409 if ( $bp_avatar = bp_core_fetch_avatar( $args ) ) { 1405 1410 return $bp_avatar;