[wp-trac] [WordPress Trac] #45763: Error after 5.0.2 Update wp-pollyfill

WordPress Trac noreply at wordpress.org
Tue Jun 4 21:42:10 UTC 2019


#45763: Error after 5.0.2 Update wp-pollyfill
--------------------------+-------------------------
 Reporter:  m0nk3y22      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  5.0.2
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------
Changes (by desrosj):

 * keywords:  reporter-feedback close =>
 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 I am going to close this out from lack of reporter feedback. I am also
 unable to reproduce the issue described. Looking at the code you have
 provided, it seems that a plugin or theme is incorrectly adding `defer` to
 the `<script>` tag.

 `'<script src="https://lightlab.gr/wp-includes/js/dist/vendor/wp-polyfill-
 fetch.min.js' defer "></scr'`

 The string is opened using a single `'`, and then closed prior to `defer`
 is added. That means a syntax error is correctly being shown by the
 browser.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45763#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list