Add media_row_actions filter. Props holizz. fixes #9172

git-svn-id: http://svn.automattic.com/wordpress/trunk@12221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-19 17:46:07 +00:00
parent 06bab5e3ff
commit 101751921b
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
} }
if ( !$is_trash ) if ( !$is_trash )
$actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>';
$actions = apply_filters( 'media_row_actions', $actions, $post );
$action_count = count($actions); $action_count = count($actions);
$i = 0; $i = 0;
echo '<div class="row-actions">'; echo '<div class="row-actions">';