From bc54176af0c1d47d70898e4ef5827b47eb1a8dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Sun, 22 Mar 2015 11:02:29 +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. Built from https://develop.svn.wordpress.org/trunk@31857 git-svn-id: http://core.svn.wordpress.org/trunk@31836 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-media-list-table.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index 0401c61fae..e2ed83e9f6 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/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 ) ); ?>