Make WordPress Core

Opened 3 years ago

Last modified 7 weeks ago

#39633 assigned defect (bug)

No HiDPI version for avatar in post locked modal

Reported by: ocean90 Owned by: wpdesk
Milestone: 5.4 Priority: normal
Severity: normal Version: 4.2
Component: Posts, Post Types Keywords: good-first-bug has-patch
Focuses: ui, javascript, administration Cc:
PR Number:


The image tag is generated in JavaScript, see https://core.trac.wordpress.org/browser/trunk/src/wp-admin/js/post.js?rev=38893&marks=203#L202, without a srcset attribute.

wp_refresh_post_lock() should probably return both versions. Also, consider switching to get_avatar_url().

Related: #22329

Attachments (1)

39633.patch (1.7 KB) - added by wpdesk 3 years ago.

Download all attachments as: .zip

Change History (5)

3 years ago

#1 @wpdesk
3 years ago

  • Keywords has-patch added; needs-patch removed

#2 @DrewAPicture
3 years ago

  • Owner set to wpdesk
  • Status changed from new to assigned

Assigning ownership to mark the good-first-bug as "claimed".

This ticket was mentioned in Slack in #core by sergey. View the logs.

7 weeks ago

#4 @SergeyBiryukov
7 weeks ago

  • Milestone changed from Future Release to 5.4
Note: See TracTickets for help on using tickets.