WordPress.org

Make WordPress Core

Ticket #13810: media.php-r14139.patch

File media.php-r14139.patch, 652 bytes (added by andyblackwell, 8 years ago)

patch for /wp-admin/media.php

  • wp-admin/media.php

     
    9696
    9797<div class="media-single">
    9898<div id='media-item-<?php echo $att_id; ?>' class='media-item'>
    99 <?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => $errors ) ); ?>
     99<?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => !empty($errors[$att_id]) ? $errors[$att_id] : null ) ); ?>
    100100</div>
    101101</div>
    102102