Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#52080 closed defect (bug) (duplicate)

Un-expected leaving prompt in classic editor

Reported by: kevin940726's profile kevin940726 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6
Component: Editor Keywords:
Focuses: Cc:


Originally posted in the support forum: Leave / Stay on Page Dialogue.

WordPress version: 5.6
WooCommerce version: 4.8.0

On the 5.6 version of WordPress, leaving a page with classic editor will prompt the users with a confirmation dialog. It's not happening on the previous version of WordPress.

Steps to reproduce:

  • On a clean WordPress installation
  • Install and active WooCommerce plugin
  • Create a product and publish it
  • Edit the product
  • Exit the page without doing any changes

Not sure if it's related to WooCommerce only or a bug in core instead, because it's not happening in my other site with WordPress 5.4.2 and the same version of WooCommerce.

I'm able to pin-point the line that causes this error:

Seems like has something to do with the recent jQuery update.

Attachments (1)

Kapture 2020-12-15 at 15.57.08.gif (4.0 MB) - added by kevin940726 2 years ago.
Recording of the reproduction steps

Change History (3)

2 years ago

Recording of the reproduction steps

#1 @kevin940726
2 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #52038.

#2 @desrosj
2 years ago

  • Component changed from General to Editor
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.