diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index 307d63b2dc..21b66c63ad 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -85,7 +85,12 @@ foreach ($posts_columns as $column_name => $column_display_name ) { case 'media': ?> >
- ID))); ?> + ID ), $matches ) ) + echo wp_specialchars( strtoupper( $matches[1] ) ); + else + echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) ); + ?>


- ID))); ?> + ID ), $matches ) ) + echo wp_specialchars( strtoupper( $matches[1] ) ); + else + echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) ); + ?>