Fix nonce for Press This category adder. fixes #14210 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
69b10a2948
commit
23367b2009
|
@ -522,7 +522,7 @@ var photostorage = false;
|
|||
</label>
|
||||
<?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —', 'tab_index' => 3 ) ); ?>
|
||||
<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" />
|
||||
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
||||
<?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?>
|
||||
<span id="category-ajax-response"></span>
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue