[wp-trac] [WordPress Trac] #46647: Site Health: Improve the "Copy to Clipboard" button
WordPress Trac
noreply at wordpress.org
Thu Mar 28 09:26:10 UTC 2019
#46647: Site Health: Improve the "Copy to Clipboard" button
-----------------------------------------+----------------------------
Reporter: pento | Owner: pento
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-screenshots needs-patch | Focuses: accessibility
-----------------------------------------+----------------------------
Changes (by afercia):
* keywords: has-patch has-screenshots => has-screenshots needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
Just noticed `grunt jshint:core` fails (at least for me) because
ClipboardJS is undefined:
{{{
Running "jshint:core" (jshint) task
src/js/_enqueues/admin/site-health.js
13 | var clipboard = new ClipboardJS( '.site-health-copy-buttons
.copy-button' );
^ 'ClipboardJS' is not defined.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46647#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list