Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r12162 r12221  
    102102        if ( !$is_trash )
    103103            $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>';
     104        $actions = apply_filters( 'media_row_actions', $actions, $post );
    104105        $action_count = count($actions);
    105106        $i = 0;
     
    174175        } else {
    175176            ?>
    176             <td <?php echo $attributes ?>>&nbsp;</td>
     177            <td <?php echo $attributes ?>><?php _e('(Unattached)'); ?><br />
     178            <a class="hide-if-no-js" onclick="findPosts.open('media[]','<?php echo $post->ID ?>');return false;" href="#the-list"><?php _e('Attach'); ?></a></td>
    177179            <?php
    178180        }
Note: See TracChangeset for help on using the changeset viewer.