[wp-trac] [WordPress Trac] #39633: No HiDPI version for avatar in post locked modal

WordPress Trac noreply at wordpress.org
Wed Jan 18 21:23:09 UTC 2017


#39633: No HiDPI version for avatar in post locked modal
-------------------------------------+-------------------------------------
 Reporter:  ocean90                  |      Owner:
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Future Release
Component:  Posts, Post Types        |    Version:  4.2
 Severity:  normal                   |   Keywords:  needs-patch good-first-
  Focuses:  ui, javascript,          |  bug
  administration                     |
-------------------------------------+-------------------------------------
 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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39633>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list