WordPress.org

Make WordPress Core

Ticket #13235: 13235.6.diff

File 13235.6.diff, 618 bytes (added by sbressler, 5 years ago)

Again, a refreshed patch for the changes to trunk.

  • wp-admin/includes/class-wp-media-list-table.php

     
    241241                break; 
    242242 
    243243        case 'author': 
     244                $author_media_url = esc_url( add_query_arg( 'author', get_the_author_meta('ID'), admin_url( 'upload.php' ) ) ); 
    244245?> 
    245                 <td <?php echo $attributes ?>><?php the_author() ?></td> 
     246                <td <?php echo $attributes ?>><a href="<?php echo $author_media_url; ?>"><?php the_author() ?></a></td> 
    246247<?php 
    247248                break; 
    248249