WordPress.org

Make WordPress Core

Ticket #13235: 13235.3.diff

File 13235.3.diff, 1.0 KB (added by sbressler, 5 years ago)
  • wp-admin/edit-attachment-rows.php

     
    126126 
    127127        case 'author': 
    128128                ?> 
    129                 <td <?php echo $attributes ?>><?php the_author() ?></td> 
     129                <td <?php echo $attributes ?>><a href="upload.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
    130130                <?php 
    131131                break; 
    132132 
  • 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 {