Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#3103 closed defect (bug) (fixed)

AYS when deleting comment

Reported by: ryan's profile ryan Owned by: mdawaffe's profile mdawaffe
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch commit
Focuses: 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 (1)

3103.diff (1.3 KB) - added by mdawaffe 19 years ago.

Download all attachments as: .zip

Change History (7)

#1 @ryan
19 years ago

  • Description modified (diff)

@mdawaffe
19 years ago

#2 @mdawaffe
19 years ago

  • Keywords has-patch commit added
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

Nice catch.

#3 @ryan
19 years ago

Nice patch.

#4 @ryan
19 years ago

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

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

#5 @ryan
19 years ago

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

#6 @ryan
19 years ago

[4163] reverts the accidental commit.

Note: See TracTickets for help on using tickets.