Make WordPress Core


Ignore:
Timestamp:
05/10/2010 08:55:52 PM (14 years ago)
Author:
westi
Message:

Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r14374 r14548  
    262262
    263263<form id="posts-filter" action="" method="get">
     264<?php wp_nonce_field('bulk-media'); ?>
    264265<?php if ( have_posts() || isset( $orphans ) ) { ?>
    265266<div class="tablenav">
     
    301302</select>
    302303<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    303 <?php wp_nonce_field('bulk-media'); ?>
    304304
    305305<?php
Note: See TracChangeset for help on using the changeset viewer.