Make WordPress Core

Changeset 15365


Ignore:
Timestamp:
07/06/2010 04:43:47 PM (14 years ago)
Author:
ryan
Message:

Fix nonce for Press This category adder. fixes #14210 for 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r15072 r15365  
    523523                                <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;', 'tab_index' => 3 ) ); ?>
    524524                                <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-sumbit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />
    525                                 <?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
     525                                <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?>
    526526                                <span id="category-ajax-response"></span>
    527527                            </p>
Note: See TracChangeset for help on using the changeset viewer.