Changeset 5480
- Timestamp:
- 12/10/2011 05:41:52 PM (13 years ago)
- Location:
- trunk/bp-forums
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-loader.php
r5474 r5480 238 238 $bp->bp_options_avatar = bp_core_fetch_avatar( array( 239 239 'item_id' => bp_displayed_user_id(), 240 'type' => 'thumb' 240 'type' => 'thumb', 241 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() ) 241 242 ) ); 242 243 $bp->bp_options_title = $bp->displayed_user->fullname; -
trunk/bp-forums/bp-forums-template.php
r5433 r5480 484 484 function bp_get_the_topic_poster_avatar( $args = '' ) { 485 485 global $forum_template; 486 486 487 487 $defaults = array( 488 488 'type' => 'thumb', 489 489 'width' => false, 490 490 'height' => false, 491 'alt' => __( 'Profile picture of %s', 'buddypress')491 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_core_get_user_displayname( $forum_template->topic->topic_poster ) ) 492 492 ); 493 493 … … 579 579 function bp_get_the_topic_object_avatar( $args = '' ) { 580 580 global $forum_template; 581 581 582 582 if ( !isset( $forum_template->topic->object_id ) ) 583 583 return false;
Note: See TracChangeset
for help on using the changeset viewer.