Changeset 3635 for trunk/bp-forums/bp-forums-templatetags.php
- Timestamp:
- 01/01/2011 06:26:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-templatetags.php
r3627 r3635 288 288 'width' => false, 289 289 'height' => false, 290 'alt' => __( 'Profile picture of %s', 'buddypress' ) 290 291 ); 291 292 … … 293 294 extract( $r, EXTR_SKIP ); 294 295 295 return apply_filters( 'bp_get_the_topic_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->topic_poster, 'type' => $type, 'width' => $width, 'height' => $height ) ) );296 return apply_filters( 'bp_get_the_topic_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->topic_poster, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) ); 296 297 } 297 298 … … 369 370 'width' => false, 370 371 'height' => false, 372 'alt' => __( 'Group logo for %s', 'buddypress' ) 371 373 ); 372 374 … … 374 376 extract( $r, EXTR_SKIP ); 375 377 376 return apply_filters( 'bp_get_the_topic_object_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->object_id, 'type' => $type, 'object' => 'group', 'width' => $width, 'height' => $height ) ) );378 return apply_filters( 'bp_get_the_topic_object_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->object_id, 'type' => $type, 'object' => 'group', 'width' => $width, 'height' => $height, 'alt' => $alt ) ) ); 377 379 } 378 380 … … 387 389 'width' => false, 388 390 'height' => false, 391 'alt' => __( 'Profile picture of %s', 'buddypress' ) 389 392 ); 390 393 … … 392 395 extract( $r, EXTR_SKIP ); 393 396 394 return apply_filters( 'bp_get_the_topic_last_poster_avatar', bp_core_fetch_avatar( array( 'email' => $forum_template->topic->topic_last_poster_email, 'item_id' => $forum_template->topic->topic_last_poster, 'type' => $type, 'width' => $width, 'height' => $height ) ) );397 return apply_filters( 'bp_get_the_topic_last_poster_avatar', bp_core_fetch_avatar( array( 'email' => $forum_template->topic->topic_last_poster_email, 'item_id' => $forum_template->topic->topic_last_poster, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) ); 395 398 } 396 399 … … 909 912 'width' => 20, 910 913 'height' => 20, 914 'alt' => __( 'Profile picture of %s', 'buddypress' ) 911 915 ); 912 916 … … 914 918 extract( $r, EXTR_SKIP ); 915 919 916 return apply_filters( 'bp_get_the_topic_post_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $topic_template->post->poster_id, 'type' => $type, 'width' => $width, 'height' => $height ) ) );920 return apply_filters( 'bp_get_the_topic_post_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $topic_template->post->poster_id, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) ); 917 921 } 918 922
Note: See TracChangeset
for help on using the changeset viewer.