#2760 closed defect (bug) (fixed)
Comment Editing Generates AYS
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 2.0.2 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | Cc: |
Description (last modified by )
Editing a comment generates an "Are you sure?" screen.
Version 2.0.3 (option not yet available in Trac)
This wouldn't be so bad if the AYS dialog didn't add slashes to any quote chars in the comment. #2761
Attachments (3)
Change History (8)
#2
@
19 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.
#3
@
19 years ago
2760-2.0.diff
2760-trunk.diff
- Follow verb-noun_which convention for nonces. http://trac.wordpress.org/ticket/2734#change_6
Note: See
TracTickets for help on using
tickets.
Patch for 2.0.3