WordPress.org

Make WordPress Core

Ticket #5911: 5911-2.diff

File 5911-2.diff, 552 bytes (added by andy, 10 years ago)

Fix the Delete button AYS

  • wp-admin/upload.php

     
    139139
    140140<div style="float: left">
    141141<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button" />
    142 <?php wp_nonce_field('bulk-posts'); ?>
     142<?php wp_nonce_field('bulk-media'); ?>
    143143<?php
    144144
    145145$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";