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/admin-ajax.php

    r17994 r18010  
    509509    break;
    510510case 'add-tag' :
    511     check_ajax_referer( 'add-tag' );
     511    check_ajax_referer( 'add-tag', '_wpnonce_add-tag' );
    512512    $post_type = !empty($_POST['post_type']) ? $_POST['post_type'] : 'post';
    513513    $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag';
Note: See TracChangeset for help on using the changeset viewer.