Fix media delete nonce. Props andy. see #5911

git-svn-id: http://svn.automattic.com/wordpress/trunk@6941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-20 17:05:42 +00:00
parent 321845ffcd
commit 7fe624526c
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ if ( $page_links )
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
<?php wp_nonce_field('bulk-posts'); ?>
<?php wp_nonce_field('bulk-media'); ?>
<?php
$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date DESC";