Changeset 5479 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 12/10/2011 05:41:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r5415 r5479 95 95 96 96 if ( function_exists( 'bp_core_fetch_avatar' ) ) 97 echo apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'type' => 'thumb' ) ) );97 echo apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'type' => 'thumb', 'alt' => sprintf( __( 'Avatar of %s', 'buddypress' ), bp_core_get_user_displayname( $comment->user_id ) ) ) ) ); 98 98 else if ( function_exists('get_avatar') ) 99 99 get_avatar(); … … 104 104 105 105 if ( function_exists( 'bp_core_fetch_avatar' ) ) 106 echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'thumb' ) ) );106 echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'thumb', 'alt' => sprintf( __( 'Avatar of %s', 'buddypress' ), bp_core_get_user_displayname( $post->post_author ) ) ) ) ); 107 107 else if ( function_exists('get_avatar') ) 108 108 get_avatar();
Note: See TracChangeset
for help on using the changeset viewer.