[wp-trac] [WordPress Trac] #48463: Copy link button in media

WordPress Trac noreply at wordpress.org
Fri Jul 3 20:51:53 UTC 2020


#48463: Copy link button in media
-------------------------------------+-------------------------------------
 Reporter:  theolg                   |       Owner:  afercia
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.5
Component:  Media                    |     Version:  5.2
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch commit                       |  javascript
-------------------------------------+-------------------------------------

Comment (by azaozz):

 Sorry for the late review. Frankly I think adding of the "Copy URL" button
 borders on being a UI bloat in the media popup. Why would you need a third
 way to copy a pretty much useless URL? But it's already committed, so.....

 Before this patch the URL could be copied easily by `Ctrl + A` followed by
 `Ctrl + C` (`Cmd + A, Cmd + C` on Mac). For people that prefer to use a
 mouse, this is triple click + right-click and copy.

 At the same time the File URL field is an anachronism left over from the
 old old media library popup from WP 2.1. It used to be somewhat useful at
 the time, but currently solicits "not best behavior" for images as using
 the full size is generally not recommended.

 Would be really interesting to know how many people that have commented on
 this ticket have ever copied an URL from there, and where they've pasted
 it? :) I personally have copied an URL from there around 10 times, ever
 (that's less than once per year), and only when testing, never in
 production.

 There is also a small visual glitch: when translated the "Copy URL" string
 may get quite longer than the English version. Then the popup "Copied!" is
 pushed underneath but seems stuck to the border/outline.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48463#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list