Ticket #2760 (closed defect (bug): fixed)
Comment Editing Generates AYS
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Administration | Version: | 2.0.2 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Attachments
Change History
comment:2
markjaquith — 6 years ago
- Keywords has-patch commit added
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
Patch fixes it. Problem should be obvious:
wp_nonce_field('update-comment' . $comment->comment_ID)
vs
check_admin_referer('update-comment');
thus, the nonce is invalid.
2760-2.0.diff
2760-trunk.diff
- Follow verb-noun_which convention for nonces. http://trac.wordpress.org/ticket/2734#change_6
- Status changed from assigned to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

