mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
321845ffcd
commit
7fe624526c
@ -139,7 +139,7 @@ if ( $page_links )
|
|||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
|
||||||
<?php wp_nonce_field('bulk-posts'); ?>
|
<?php wp_nonce_field('bulk-media'); ?>
|
||||||
<?php
|
<?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";
|
$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";
|
||||||
|
Loading…
Reference in New Issue
Block a user