Fix attachment view link title attribute. Props chdorner. fixes #10571
git-svn-id: https://develop.svn.wordpress.org/trunk@12876 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9d44dc664c
commit
995576fbdc
@ -101,8 +101,10 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
|
||||
$actions['delete'] = "<a class='submitdelete'$delete_ays href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "'>" . __('Delete Permanently') . "</a>";
|
||||
}
|
||||
}
|
||||
if ( !$is_trash )
|
||||
if ( !$is_trash ) {
|
||||
$title =_draft_or_post_title($post->post_parent);
|
||||
$actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>';
|
||||
}
|
||||
$actions = apply_filters( 'media_row_actions', $actions, $post );
|
||||
$action_count = count($actions);
|
||||
$i = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user