Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15504 closed defect (bug) (fixed)

Delete Permanently not working in Comments admin UI

Reported by: hew Owned by:
Priority: normal Milestone: 3.1
Component: Comments Version: 3.1
Severity: normal Keywords: has-patch needs-testing
Cc:

Description

Spam and/or trash a comment. Hover over and try to "Delete Permanently". Nothing happens.

Attachments (1)

15504.tentative.diff (460 bytes) - added by duck_ 3 years ago.

Download all attachments as: .zip

Change History (9)

Confirmed broken in trunk (using IE8)

comment:2   hew3 years ago

Thanks mrmist. I tested Safari/FF before submission and just now tested Chrome; it looks to be fully cross browser.

  • Component changed from General to Comments
  • Milestone changed from Awaiting Review to 3.1
  • Keywords has-patch needs-testing added

Line 463 of edit-comments.js seems to be blocking the processing. Added in [10522] for deletion warnings, but looks like it was never removed when trashing was introduced.

Not too familiar with the code so tentative patch attached.

duck_3 years ago

I'm not sure, as that line was there in WP 3.0, yet the link was working.

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

(In [16516]) Use event delegation in edit-comments.js. Fixes #15504

(In [16517]) re-minify edit-comments.js. See #15504

Just like with #15488, all events need to be delegated.

Note: See TracTickets for help on using tickets.