Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 9 years ago

#6519 closed enhancement (fixed)

Blog avatar: Allow to set "title" argument for the blog's avatar.

Reported by: lenasterg's profile lenasterg Owned by: boonebgorges's profile boonebgorges
Milestone: 2.4 Priority: low
Severity: trivial Version:
Component: Blogs Keywords:
Cc:

Description

The current settings of the function bp_get_blog_avatar() doesn't allow the title parameter to be set via the bp_blog_avatar() args.
More worst it displays the blog's admin email as title to avatar (which I'm not sure if it's "policital" correct).
The suggested patch allows the 'title' to be set as part of bp_blog_avatar() $args and also use as it's default value the same as the alt parameter (Profile picture of site author [user name].).

Attachments (1)

bp-blogs-template.php.patch (1.4 KB) - added by lenasterg 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @boonebgorges
9 years ago

  • Milestone changed from Awaiting Review to 2.4

Good call on both counts.

#2 @boonebgorges
9 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 9960:

Introduce 'title' argument for bp_get_blog_avatar().

This changeset also changes the default value of the 'title' attribute of blog
avatars to the display name of the site admin. The previous value was the site
admin's email address, which could introduce privacy concerns.

Props lenasterg.
Fixes #6519.

Note: See TracTickets for help on using tickets.