Changeset 6246
- Timestamp:
- 08/08/2012 04:38:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.6/bp-core/bp-core-avatars.php
r6228 r6246 314 314 315 315 // Return it wrapped in an <img> element 316 if ( !empty( $html )) {316 if ( true === $html ) { 317 317 return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $avatar_url . '" alt="' . esc_attr( $alt ) . '" class="' . esc_attr( $class ) . '"' . $css_id . $html_width . $html_height . $title . ' />', $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir ); 318 318 … … 376 376 } 377 377 378 if ( !empty( $html ))378 if ( true === $html ) 379 379 return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $gravatar . '" alt="' . esc_attr( $alt ) . '" class="' . esc_attr( $class ) . '"' . $css_id . $html_width . $html_height . $title . ' />', $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir ); 380 380 else
Note: See TracChangeset
for help on using the changeset viewer.