[wp-trac] [WordPress Trac] #56515: Uncaught TypeError: clipboard.clipboardAction is undefined
WordPress Trac
noreply at wordpress.org
Tue Sep 6 13:51:19 UTC 2022
#56515: Uncaught TypeError: clipboard.clipboardAction is undefined
----------------------------------------+-------------------------
Reporter: hiren1094 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0.3
Component: Site Health | Version: 6.0
Severity: normal | Resolution:
Keywords: has-patch has-testing-info | Focuses: javascript
----------------------------------------+-------------------------
Changes (by costdev):
* keywords: has-patch => has-patch has-testing-info
Comment:
== Test Report
This report validates that the indicated patch addresses the issue.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/3201
=== Steps to Reproduce or Test
1. Navigate to `Tools > Site Health`.
2. Click the `Info` tab.
3. Open Devtools.
4. 🐞 On the page, click the `Copy site info to clipboard` button and
wait.
5. Apply the PR.
6. Run `npm run build:dev`.
7. Repeat steps 1-4. (You might need to perform a hard refresh before step
4).
=== Expected Results
When reproducing the issue:
- ❌ The info is copied to the clipboard, but an error also appears in the
console. `clipboard.clipboardAction` is `undefined`.
When testing the PR:
- ✅ The info is copied to the clipboard and no error appears in the
console.
=== Environment
* Server: Apache (Linux)
* WordPress: 6.1-alpha-53344-src
* Browser: Chrome 105.0.0.0
* OS: Windows 10
* Theme: Twenty Twenty-Two
* Plugins: None activated
=== Actual Results
When reproducing the issue:
- ❌ The info was copied to the clipboard, but the error appeared in the
console. Issue reproduced.
When testing the PR:
- ✅ The info was copied to the clipboard and no error appeared in the
console. The PR resolves the issue.
-----
@Clorith What do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56515#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list