WordPress.org

Make WordPress Core

Ticket #6348: 6348.3.diff

File 6348.3.diff, 670 bytes (added by wojtek.szkutnik, 9 years ago)
  • wp-admin/includes/media.php

     
    19101910
    19111911        $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>';
    19121912}
     1913$type_links = apply_filters('mime_type_links', $type_links);
    19131914echo implode(' | </li>', $type_links) . '</li>';
    19141915unset($type_links);
    19151916?>