[wp-trac] [WordPress Trac] #54426: Add a "Copy URL to clipboard" row action in Media > Library...similar to the botton on the Edit Media screen

WordPress Trac noreply at wordpress.org
Sat Dec 4 19:05:48 UTC 2021


#54426: Add a "Copy URL to clipboard" row action in Media > Library...similar to
the botton on the Edit Media screen
-------------------------------------+-------------------------------------
 Reporter:  pbiron                   |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.0
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch needs-testing                |  javascript
-------------------------------------+-------------------------------------

Comment (by alexstine):

 @pbiron Thanks for the latest patch. I'll check it when I have a free
 moment. Code looks a lot cleaner than my first attempt, appreciate the
 cleanup.

 That is the hardest part, tracking down what core scripts are loaded
 where. This file usually holds the answers though if you ever need to find
 one in the future.

 src/wp-includes/script-loader.php

 Then you can search the page source for the script and have the above file
 to reference it by.

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


More information about the wp-trac mailing list