Opened 10 years ago
Closed 10 years ago
#28815 closed defect (bug) (wontfix)
Browser beforeunload confirmation being fired when trashing post
Reported by: | johnbillion | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9 |
Component: | Editor | Keywords: | has-patch reporter-feedback |
Focuses: | administration | Cc: |
Description
Steps to reproduce:
- Add a new post
- Enter a title and some text in the content area
- Click the 'Move to Trash' link next to the Publish button
Note that you'll be presented with an "Are you sure you want to leave this page?" confirmation.
Looks like this was introduced in 3.9.
Attachments (1)
Change History (4)
This ticket was mentioned in IRC in #wordpress-dev by DrewAPicture. View the logs.
10 years ago
Note: See
TracTickets for help on using
tickets.
So I've patched it to remove the
beforeunload.edit-post
when the button clicked has the classsubmitdelete
.