Fix media delete nonce. Props andy. see #5911

git-svn-id: https://develop.svn.wordpress.org/trunk@6941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-20 17:05:42 +00:00
parent 8ddbf1eb16
commit 13313906d0
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";