Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#8531 closed defect (bug) (fixed)

Group Block improvement & Groups Block bug

Reported by: imath Owned by: imath
Priority: normal Milestone: 9.0.0
Component: Groups Version:
Severity: normal Keywords: has-patch
Cc:

Description

Group Block improvement

Use esc_attr__ instead of esc_html__ for the alt attribute of the Group Avatar.

Groups Block bug

The src & alt attribute are wrongly set we need to switch both values.

Attachments (1)

8531.patch​ (1.2 KB ) - added by imath 5 years ago.

Download all attachments as: .zip

Change History (2)

@imath
5 years ago

#1 @imath
5 years ago

  • Resolution → fixed
  • Status assigned → closed

In 13020:

Groups Block: the avatar URL is the src attribute of the img tag

The alt attribut was wrongly used & the alternative text for the image was used into the src attribute. Let's make sure everything goes at the right place.

NB: this commit also improve escaping for the alt attribute of the Group Block.

Fixes #8531

Note: See TracTickets for help on using tickets.