WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#7523 closed enhancement (fixed)

Alternate image text in get_avatar

Reported by: Speedboxer Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.5
Component: Template Keywords: avatar, has-patch
Focuses: Cc:

Description

Currently, get_avatar() returns an image tag with a blank alt attribute, which isn't particularly useful. We should allow specifying the contents of the alt tag, and should default it to 'Avatar'.

Attachments (1)

7523.diff (1.5 KB) - added by Speedboxer 7 years ago.
Allow specifying image alt tags in get_avatar() and default alt to 'Avatar'

Download all attachments as: .zip

Change History (2)

@Speedboxer7 years ago

Allow specifying image alt tags in get_avatar() and default alt to 'Avatar'

comment:1 @westi7 years ago

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

(In [8661]) alt attibutes for get_avatar(). Fixes #7523 props Speedboxer.

Note: See TracTickets for help on using tickets.