WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 8 months ago

#39633 assigned defect (bug)

No HiDPI version for avatar in post locked modal

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

Description

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 9 months ago.

Download all attachments as: .zip

Change History (3)

@wpdesk
9 months ago

#1 @wpdesk
9 months ago

  • Keywords has-patch added; needs-patch removed

#2 @DrewAPicture
8 months ago

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

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

Note: See TracTickets for help on using tickets.