Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

#61852 closed defect (bug) (invalid)

When Updating to 6.6.1 regeneratorRuntime is not defined errore occued

Reported by: nazmul111's profile nazmul111 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.6.1
Component: Script Loader Keywords:
Focuses: Cc:

Description

When Updating to 6.6.1 below errore occured

Uncaught ReferenceError: regeneratorRuntime is not defined

Change History (1)

#1 @swissspidy
5 weeks ago

  • Component changed from General to Script Loader
  • Focuses javascript removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

As per this 6.6 dev-note, In [57981], now obsolete polyfills such as wp-polyfill, wp-polyfill-inert and regenerator-runtime were removed from the react script dependency in WordPress, as they are no longer needed in modern browsers supported by WordPress.

If your plugin or theme requires regenerator, manually enqueue regenerator-runtime or uodate its Babel config to no longer support old browsers such as IE11.

Closing this as it‘s not a core bug. I recommend asking in the support forums for assistance or reporting this to the developer of the affected plugin/theme if it‘s not yours.

Note: See TracTickets for help on using tickets.