Changeset 11669
- Timestamp:
- 08/04/2017 06:16:51 PM (8 years ago)
- File:
-
- 1 edited
-
branches/2.9/src/bp-core/bp-core-avatars.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.9/src/bp-core/bp-core-avatars.php
r11638 r11669 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 ) ) {
Note: See TracChangeset
for help on using the changeset viewer.