WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/23/2011 11:33:30 PM (11 years ago)
Author:
ryan
Message:

Validation fixes. Props ocean90, peaceablewhale. see #17364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r17748 r18010  
    3535case 'add-tag':
    3636
    37     check_admin_referer( 'add-tag' );
     37    check_admin_referer( 'add-tag', '_wpnonce_add-tag' );
    3838
    3939    if ( !current_user_can( $tax->cap->edit_terms ) )
     
    329329<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
    330330<input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" />
    331 <?php wp_nonce_field('add-tag'); ?>
     331<?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?>
    332332
    333333<div class="form-field form-required">
Note: See TracChangeset for help on using the changeset viewer.