Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 8 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:


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 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Denis-de-Bernardy
9 years ago

  • Milestone changed from Unassigned to 2.9

9 years ago

#2 @azaozz
9 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.

#3 @azaozz
9 years ago

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

#4 @azaozz
9 years ago

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

Seems to be working well.

#5 @nacin
8 years ago

Cross-referencing. Looks like this caused #11350.

Note: See TracTickets for help on using tickets.