Make WordPress Core


Ignore:
Timestamp:
11/17/2009 03:08:38 AM (17 years ago)
Author:
azaozz
Message:

Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-attachment-rows.php

    r12162 r12196  
    174174                } else {
    175175                        ?>
    176                         <td <?php echo $attributes ?>>&nbsp;</td>
     176                        <td <?php echo $attributes ?>><?php _e('(Unattached)'); ?><br />
     177                        <a class="hide-if-no-js" onclick="findPosts.open('media[]','<?php echo $post->ID ?>');return false;" href="#the-list"><?php _e('Attach'); ?></a></td>
    177178                        <?php
    178179                }
Note: See TracChangeset for help on using the changeset viewer.