WordPress.org

Make WordPress Core

Ticket #6348: 6348.2.diff

File 6348.2.diff, 656 bytes (added by Denis-de-Bernardy, 10 years ago)
  • wp-admin/includes/media.php

     
    17641764
    17651765        $type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . "'$class>" . sprintf(_n($label[2][0], $label[2][1], $num_posts[$mime_type]), "<span id='$mime_type-counter'>" . number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>';
    17661766}
     1767$type_links = apply_filters('mime_type_links', $type_links);
    17671768echo implode(' | </li>', $type_links) . '</li>';
    17681769unset($type_links);
    17691770?>