Ticket #3103 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

AYS when deleting comment

Reported by: ryan Assigned to: mdawaffe
Priority: normal Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch commit
Cc:

Description (Last modified by ryan)

When deleting a commment from the "Edit Comment" page (comment.php?action=editcomment&comment=xxx), an AYS is issued. In edit-form-comment.php, we need to create and inject a delete-comment nonce in the same fashion as we do for posts in edit-form-advanced.php.

Attachments

3103.diff (1.3 kB) - added by mdawaffe on 09/02/06 21:33:36.

Change History

09/02/06 20:26:01 changed by ryan

  • description changed.

09/02/06 21:33:36 changed by mdawaffe

  • attachment 3103.diff added.

09/02/06 21:34:07 changed by mdawaffe

  • keywords set to has-patch commit.
  • owner changed from anonymous to mdawaffe.
  • status changed from new to assigned.

Nice catch.

09/02/06 22:05:11 changed by ryan

Nice patch.

09/02/06 22:05:40 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4162]) Nonce delete comment. Props mdawaffe. fixes #3103

09/02/06 22:06:31 changed by ryan

Oops. Someone forgot to revert his view when commiting that one. Your new AJAX changes are in. :-)

09/02/06 22:08:38 changed by ryan

[4163] reverts the accidental commit.