WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#10239 closed defect (bug) (fixed)

Cannot cancel upon Tag/Category delete confirmation

Reported by: yoshi Owned by: azaozz
Milestone: 2.9 Priority: low
Severity: minor Version: 2.8
Component: JavaScript Keywords:
Focuses: Cc:

Description

At wp-admin/edit-tags.php, there are some situations where confirmation for tag deletion doesn't work as expected.

  1. After Quick edit and update a tag, clicking on Delete action immidiately deletes the tag without confirmation.
  1. Add a new tag and click on Delete under the newly created tag, confirmation dialog will popup but pressing cancel won't stop the process.

Also the same for the category editing.

Attachments (1)

tags-ajax.patch (38.1 KB) - added by azaozz 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Denis-de-Bernardy5 years ago

  • Milestone changed from Unassigned to 2.9

azaozz5 years ago

comment:2 azaozz5 years ago

  • Keywords needs-testing added

This patch should fix it for the Tags screens but needs some testing. It uses some of the new methods in jQuery 1.3 and doesn't need wp-lists and the jQuery forms plugin.

If all is working well will add it on the categories and link categories screens too.

comment:3 azaozz5 years ago

(In [11676]) Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239

comment:4 azaozz4 years ago

  • Keywords needs-testing removed
  • Resolution set to fixed
  • Status changed from new to closed

Seems to be working well.

comment:5 nacin4 years ago

Cross-referencing. Looks like this caused #11350.

Note: See TracTickets for help on using tickets.