Make WordPress Core


Ignore:
Timestamp:
05/02/2006 10:36:06 PM (20 years ago)
Author:
ryan
Message:

Nonce from above. #2678

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/moderation.php

    r3722 r3759  
    3333case 'update':
    3434
    35     check_admin_referer();
     35    check_admin_referer('moderate-comments');
    3636
    3737    if ( ! current_user_can('moderate_comments') )
     
    133133    <h2><?php _e('Moderation Queue') ?></h2>
    134134    <form name="approval" action="moderation.php" method="post">
     135    <?php wp_nonce_field('moderate-comments') ?>
    135136    <input type="hidden" name="action" value="update" />
    136137    <ol id="the-list" class="commentlist">
Note: See TracChangeset for help on using the changeset viewer.