WordPress.org

Make WordPress Core

Ticket #13235: 13235.2.diff

File 13235.2.diff, 594 bytes (added by sbressler, 5 years ago)

Call the_author for unattached media just like attached media

  • wp-admin/upload.php

     
    425425                        echo "<span class='$action'>$link$sep</span>"; 
    426426                } ?> 
    427427                </div></td> 
    428                 <td class="author column-author"><?php $author = get_userdata($post->post_author); echo $author->display_name; ?></td> 
     428                <td class="author column-author"><?php the_author(); ?></td> 
    429429<?php   if ( '0000-00-00 00:00:00' == $post->post_date && 'date' == $column_name ) { 
    430430                        $t_time = $h_time = __('Unpublished'); 
    431431                } else {