Changeset 8677 for trunk/src/bp-core/bp-core-template.php
- Timestamp:
- 07/23/2014 06:30:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r8659 r8677 158 158 159 159 if ( function_exists( 'bp_core_fetch_avatar' ) ) 160 echo apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'type' => 'thumb', 'alt' => sprintf( __( ' Avatarof %s', 'buddypress' ), bp_core_get_user_displayname( $comment->user_id ) ) ) ) );160 echo apply_filters( 'bp_comment_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'type' => 'thumb', 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $comment->user_id ) ) ) ) ); 161 161 else if ( function_exists('get_avatar') ) 162 162 get_avatar(); … … 174 174 175 175 if ( function_exists( 'bp_core_fetch_avatar' ) ) 176 echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'thumb', 'alt' => sprintf( __( ' Avatarof %s', 'buddypress' ), bp_core_get_user_displayname( $post->post_author ) ) ) ) );176 echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'thumb', 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $post->post_author ) ) ) ) ); 177 177 else if ( function_exists('get_avatar') ) 178 178 get_avatar();
Note: See TracChangeset
for help on using the changeset viewer.