Changeset 12876
- Timestamp:
- 01/27/2010 02:44:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-attachment-rows.php
r12591 r12876 102 102 } 103 103 } 104 if ( !$is_trash ) 104 if ( !$is_trash ) { 105 $title =_draft_or_post_title($post->post_parent); 105 106 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 107 } 106 108 $actions = apply_filters( 'media_row_actions', $actions, $post ); 107 109 $action_count = count($actions);
Note: See TracChangeset
for help on using the changeset viewer.