Make WordPress Core


Ignore:
Timestamp:
05/28/2006 11:33:05 PM (19 years ago)
Author:
ryan
Message:

nonce and comment fixes from Juergen. fixes #2748

File:
1 edited

Legend:

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

    r3805 r3808  
    204204    echo "<input type='hidden' name='comment' value='{$comment->comment_ID}' />\n";
    205205    echo "<input type='hidden' name='noredir' value='1' />\n";
     206    wp_nonce_field('delete-comment_' .  $comment->comment_ID);
    206207    echo "<input type='submit' value='" . __('Yes') . "' />";
    207208    echo "&nbsp;&nbsp;";
Note: See TracChangeset for help on using the changeset viewer.