Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#36530 closed defect (bug) (invalid)

get_avatar srcset only contains one source

Reported by: jaspermdegroot's profile jaspermdegroot Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2
Component: Media Keywords: has-patch
Focuses: Cc:

Description

The srcset attribute of the image element returned by get_avatar() only contains the 2x source instead of both the SD and the HD source.

Attachments (1)

36530.patch (670 bytes) - added by jaspermdegroot 7 years ago.

Download all attachments as: .zip

Change History (6)

#1 @jaspermdegroot
7 years ago

In 36530.patch: Add both the 1x and 2x sources to the srcset.

#2 @ocean90
7 years ago

  • Keywords has-patch added
  • Version changed from trunk to 4.2

Introduced in [31721]. See also ticket:22329:56 and [31722], has this changed?

#3 @jaspermdegroot
7 years ago

@ocean90

No, it hasn't changed. They are right, and I am wrong. I didn't know it could be omitted, but after reading the specs again it's clear that it can. So this ticket can be closed.

#4 @jaspermdegroot
7 years ago

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

#5 @netweb
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.