Make WordPress Core


Ignore:
Timestamp:
06/01/2006 04:58:44 PM (20 years ago)
Author:
ryan
Message:

Comment nonce fixes from Mark Jaquith and mdawaffe. fixes #2760

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/post.php

    r3808 r3826  
    323323case 'editedcomment':
    324324
    325     check_admin_referer('update-comment');
     325    $comment_id = (int) $_POST['comment_ID'];
     326    check_admin_referer('update-comment_' . $comment_id);
    326327
    327328    edit_comment();
Note: See TracChangeset for help on using the changeset viewer.