Skip to:

Opened 3 years ago

Closed 3 years ago

#8531 closed defect (bug) (fixed)

Group Block improvement & Groups Block bug

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


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 3 years ago.

Download all attachments as: .zip

Change History (2)

3 years ago

#1 @imath
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to 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.