[wp-trac] [WordPress Trac] #52080: Un-expected leaving prompt in classic editor
WordPress Trac
noreply at wordpress.org
Tue Dec 15 08:04:09 UTC 2020
#52080: Un-expected leaving prompt in classic editor
--------------------------+-----------------------------
Reporter: kevin940726 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.6
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Originally posted in the support forum:
[https://wordpress.org/support/topic/leave-stay-on-page-dialogue/ 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:
https://core.trac.wordpress.org/browser/tags/5.6/src/js/_enqueues/vendor/jquery/jquery.js#L5601
Seems like has something to do with the recent jQuery update.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52080>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list