- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-attachment-rows.php
r12221 r12162 102 102 if ( !$is_trash ) 103 103 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 104 $actions = apply_filters( 'media_row_actions', $actions, $post );105 104 $action_count = count($actions); 106 105 $i = 0; … … 175 174 } else { 176 175 ?> 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> 176 <td <?php echo $attributes ?>> </td> 179 177 <?php 180 178 }
Note: See TracChangeset
for help on using the changeset viewer.