[wp-trac] [WordPress Trac] #45763: Error after 5.0.2 Update wp-pollyfill
WordPress Trac
noreply at wordpress.org
Tue Dec 25 08:32:13 UTC 2018
#45763: Error after 5.0.2 Update wp-pollyfill
--------------------------+-----------------------------
Reporter: m0nk3y22 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.0.2
Severity: critical | Keywords:
Focuses: |
--------------------------+-----------------------------
After updating to the latest version of wordpress i get a Syntax Error
missing ) as seen on the image below because the script that is printed in
the head of admin pages is printing ' & " wrong thus they are not closing
correct. I have disabled all plugins but the problem still exists. I use
Flatsome as my theme which is compatible with the latest version. How can
i disable this script from printed in the admin pages? I tried
wp_deregister_script but doesn't seem to work. The problem is that i
cannot edit any page
[[Image(https://i.stack.imgur.com/A9yPO.jpg)]]
{{{
<script type='text/javascript'>
( 'fetch' in window ) || document.write( '<script src="https://lightlab.gr
/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js' defer "></scr' +
'ipt>' );( document.contains ) || document.write( '<script
src="https://lightlab.gr/wp-includes/js/dist/vendor/wp-polyfill-node-
contains.min.js' defer "></scr' + 'ipt>' );( window.FormData &&
window.FormData.prototype.keys ) || document.write( '<script
src="https://lightlab.gr/wp-includes/js/dist/vendor/wp-polyfill-
formdata.min.js' defer "></scr' + 'ipt>' );( Element.prototype.matches &&
Element.prototype.closest ) || document.write( '<script
src="https://lightlab.gr/wp-includes/js/dist/vendor/wp-polyfill-element-
closest.min.js' defer "></scr' + 'ipt>' );
</script>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45763>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list