mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: https://develop.svn.wordpress.org/trunk@12196 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -173,7 +173,8 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<td <?php echo $attributes ?>> </td>
|
||||
<td <?php echo $attributes ?>><?php _e('(Unattached)'); ?><br />
|
||||
<a class="hide-if-no-js" onclick="findPosts.open('media[]','<?php echo $post->ID ?>');return false;" href="#the-list"><?php _e('Attach'); ?></a></td>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user