Make WordPress Core


Ignore:
Timestamp:
03/06/2008 10:23:00 AM (18 years ago)
Author:
matt
Message:

Fix some names and order of filters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r7136 r7170  
    8989    foreach ( $reals as $real )
    9090        $num_posts[$type] += $_num_posts[$real];
     91$class = empty($_GET['post_mime_type']) ? ' class="current"' : '';
     92$type_links[] = "<li><a href=\"upload.php\"$class>".__('All Types')."</a>";
    9193foreach ( $post_mime_types as $mime_type => $label ) {
    9294    $class = '';
     
    101103    sprintf($label[2], $num_posts[$mime_type]) . '</a>';
    102104}
    103 $class = empty($_GET['post_mime_type']) ? ' class="current"' : '';
    104 $type_links[] = "<li><a href=\"upload.php\"$class>".__('All Types')."</a>";
    105105echo implode(' | </li>', $type_links) . '</li>';
    106106unset($type_links);
Note: See TracChangeset for help on using the changeset viewer.