Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#61852 closed defect (bug) (invalid)

When Updating to 6.6.1 regeneratorRuntime is not defined errore occued

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

Description

When Updating to 6.6.1 below errore occured

Uncaught ReferenceError: regeneratorRuntime is not defined

Change History (1)

#1 @swissspidy
2 years ago

  • Component GeneralScript Loader
  • Focuses javascript removed
  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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.