Ticket #6519: bp-blogs-template.php.patch
| File bp-blogs-template.php.patch, 1.4 KB (added by , 11 years ago) |
|---|
-
src/bp-blogs/bp-blogs-template.php
533 533 * @type string $alt Default: 'Profile picture of site author 534 534 * [user name]'. 535 535 * @type string $class Default: 'avatar'. 536 * @type string $title Default: 'Profile picture of site author 537 * [user name]'. 536 538 * @type string $type Default: 'full'. 537 539 * @type int|bool $width Default: false. 538 540 * @type int|bool $height Default: false. … … 557 559 'height' => false, 558 560 'class' => 'avatar', 559 561 'id' => false, 562 'title' => sprintf( __( 'Profile picture of site author %s', 'buddypress' ), bp_core_get_user_displayname( $blogs_template->blog->admin_user_id ) ), 560 563 'alt' => sprintf( __( 'Profile picture of site author %s', 'buddypress' ), bp_core_get_user_displayname( $blogs_template->blog->admin_user_id ) ), 561 564 'no_grav' => true, 562 565 ) ); … … 564 567 // Fetch the avatar 565 568 $avatar = bp_core_fetch_avatar( array( 566 569 'item_id' => $blogs_template->blog->admin_user_id, 567 'title' => $blogs_template->blog->admin_user_email,570 'title' => $r['title'], 568 571 //'avatar_dir' => 'blog-avatars', 569 572 //'object' => 'blog', 570 573 'type' => $r['type'],