Changeset 3635 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 01/01/2011 06:26:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r3631 r3635 322 322 'class' => 'avatar', 323 323 'id' => false, 324 'alt' => __( ' Member avatar', 'buddypress' )324 'alt' => __( 'Profile picture of %s', 'buddypress' ) 325 325 ); 326 326 … … 671 671 'width' => false, 672 672 'height' => false, 673 'html' => true 673 'html' => true, 674 'alt' => __( 'Profile picture of %s', 'buddypress' ) 674 675 ); 675 676 … … 677 678 extract( $r, EXTR_SKIP ); 678 679 679 return apply_filters( 'bp_get_loggedin_user_avatar', bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'type' => $type, 'width' => $width, 'height' => $height, 'html' => $html ) ) );680 return apply_filters( 'bp_get_loggedin_user_avatar', bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'type' => $type, 'width' => $width, 'height' => $height, 'html' => $html, 'alt' => $alt ) ) ); 680 681 } 681 682 … … 690 691 'width' => false, 691 692 'height' => false, 692 'html' => true 693 'html' => true, 694 'alt' => __( 'Profile picture of %s', 'buddypress' ) 693 695 ); 694 696 … … 696 698 extract( $r, EXTR_SKIP ); 697 699 698 return apply_filters( 'bp_get_displayed_user_avatar', bp_core_fetch_avatar( array( 'item_id' => $bp->displayed_user->id, 'type' => $type, 'width' => $width, 'height' => $height, 'html' => $html ) ) );700 return apply_filters( 'bp_get_displayed_user_avatar', bp_core_fetch_avatar( array( 'item_id' => $bp->displayed_user->id, 'type' => $type, 'width' => $width, 'height' => $height, 'html' => $html, 'alt' => $alt ) ) ); 699 701 } 700 702
Note: See TracChangeset
for help on using the changeset viewer.