Change the `onclick` attribute to a separate inlined script in the error message and improve the event attachment behavior. Props vivekawsm, mijotj, adamsilverstein, parthvataliya, adhun, sarathar, peterwilsoncc, sayedulsayem, chaion07, sppramodh, indirabiswas27, aishwarryapande, dhrumilk, manojmaharrshi, ugyensupport, imranhasanraaz, pkbhatt, shailu25, joedolson. Fixes #60074. Built from https://develop.svn.wordpress.org/trunk@59986 git-svn-id: http://core.svn.wordpress.org/trunk@59328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
4.9 KiB
4.9 KiB