From 9822d05f72171af832a6b202a1d01a918cacbaa1 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Sun, 22 Mar 2015 11:02:00 +0000 Subject: [PATCH] Media: Show filename instead of extension in the list table. This helps differentiate between files with the same or similar image or icon. Extension shows as a part of the filename, and so is not separately needed anymore. fixes #30943. git-svn-id: https://develop.svn.wordpress.org/trunk@31857 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-media-list-table.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php index 0401c61fae..e2ed83e9f6 100644 --- a/src/wp-admin/includes/class-wp-media-list-table.php +++ b/src/wp-admin/includes/class-wp-media-list-table.php @@ -340,14 +340,7 @@ foreach ( $columns as $column_name => $column_display_name ) { -

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

+

guid ); ?>

row_actions( $this->_get_row_actions( $post, $att_title ) ); ?>