WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3103 closed defect (bug) (fixed)

AYS when deleting comment

Reported by: ryan Owned by: 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 (1)

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

Download all attachments as: .zip

Change History (7)

comment:1 ryan7 years ago

  • Description modified (diff)

mdawaffe7 years ago

comment:2 mdawaffe7 years ago

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

Nice catch.

comment:3 ryan7 years ago

Nice patch.

comment:4 ryan7 years ago

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

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

comment:5 ryan7 years ago

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

comment:6 ryan7 years ago

[4163] reverts the accidental commit.

Note: See TracTickets for help on using tickets.