WordPress.org

Make WordPress Core

Ticket #9282: detached-2.7.patch

File detached-2.7.patch, 1.2 KB (added by scribu, 5 years ago)

Backport for 2.7 branch

  • home/cristi/svn/wp-legacy/wp-admin/upload.php

     
    302302        <th scope="col" class="check-column"><input type="checkbox" /></th> 
    303303        <th scope="col"></th> 
    304304        <th scope="col"><?php echo _c('Media|media column header'); ?></th> 
     305        <th scope="col"><?php echo _c('Author|media column header'); ?></th> 
    305306        <th scope="col"><?php echo _c('Date Added|media column header'); ?></th> 
    306307</tr> 
    307308</thead> 
     
    311312        <th scope="col" class="check-column"><input type="checkbox" /></th> 
    312313        <th scope="col"></th> 
    313314        <th scope="col"><?php echo _c('Media|media column header'); ?></th> 
     315        <th scope="col"><?php echo _c('Author|media column header'); ?></th> 
    314316        <th scope="col"><?php echo _c('Date Added|media column header'); ?></th> 
    315317</tr> 
    316318</tfoot> 
     
    351353                        echo "<span class='$action'>$link$sep</span>"; 
    352354                } ?> 
    353355                </p></td> 
    354  
     356                <td><?php $author = get_userdata($post->post_author); echo $author->display_name; ?></td> 
    355357<?php   if ( '0000-00-00 00:00:00' == $post->post_date && 'date' == $column_name ) { 
    356358                        $t_time = $h_time = __('Unpublished'); 
    357359                } else {