[wp-trac] [WordPress Trac] #56515: Uncaught TypeError: clipboard.clipboardAction is undefined

WordPress Trac noreply at wordpress.org
Mon Sep 5 17:55:43 UTC 2022


#56515: Uncaught TypeError: clipboard.clipboardAction is undefined
-------------------------+-----------------------------
 Reporter:  hiren1094    |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Site Health  |    Version:  6.0.2
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:  javascript   |
-------------------------+-----------------------------
 Hello,

 We should check the "undefine" condition in site-health.js for avoiding
 the below error.

 Uncaught TypeError: clipboard.clipboardAction is undefined ( firefox )

 OR

 Uncaught TypeError: Cannot read properties of undefined (reading
 'fakeElem') (chrome)

 Line No: 38

 It is produce when click on "Copy site info to clipboard"

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


More information about the wp-trac mailing list