Changeset 9506 for trunk/wp-admin/upload.php
- Timestamp:
- 11/04/2008 03:22:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload.php
r9414 r9506 185 185 foreach ( $matches as $type => $reals ) 186 186 foreach ( $reals as $real ) 187 $num_posts[$type] +=$_num_posts[$real];187 $num_posts[$type] = ( isset( $num_posts[$type] ) ) ? $num_posts[$type] + $_num_posts[$real] : $_num_posts[$real]; 188 188 189 189 $class = empty($_GET['post_mime_type']) && ! isset($_GET['detached']) ? ' class="current"' : ''; … … 195 195 continue; 196 196 197 if ( wp_match_mime_types($mime_type, $_GET['post_mime_type']) )197 if ( !empty($_GET['post_mime_type']) && wp_match_mime_types($mime_type, $_GET['post_mime_type']) ) 198 198 $class = ' class="current"'; 199 199
Note: See TracChangeset
for help on using the changeset viewer.