Changeset 12417 for trunk/src/bp-core/bp-core-avatars.php
- Timestamp:
- 07/26/2019 10:47:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-avatars.php
r12338 r12417 477 477 478 478 // Check for directory. 479 if ( file_exists( $avatar_folder_dir ) ) {479 if ( ! $params['force_default'] && file_exists( $avatar_folder_dir ) ) { 480 480 481 481 // Open directory. … … 638 638 if ( ! empty( $params['force_default'] ) ) { 639 639 $url_args['f'] = 'y'; 640 $url_args['d'] = $params['default']; 640 641 } 641 642 if ( ! empty( $params['rating'] ) ) { … … 654 655 655 656 // Only set default image if 'Gravatar Logo' is not requested. 656 if ( 'gravatar_default' !== $default_grav ) {657 if ( ! $params['force_default'] && 'gravatar_default' !== $default_grav ) { 657 658 $url_args['d'] = $default_grav; 658 659 }
Note: See TracChangeset
for help on using the changeset viewer.