mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 10:27:57 +01:00
Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718
git-svn-id: http://core.svn.wordpress.org/trunk@20844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cb33ac7824
commit
b66fb16fe5
@ -179,7 +179,7 @@ if ( $allowed_files ) :
|
||||
if ( 'style.css' == $filename )
|
||||
echo "\t</ul>\n\t<h3>" . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "</h3>\n\t<ul>\n";
|
||||
|
||||
$file_description = get_file_description( $filename );
|
||||
$file_description = get_file_description( $absolute_filename );
|
||||
if ( $file_description != basename( $filename ) )
|
||||
$file_description .= '<br /><span class="nonessential">(' . $filename . ')</span>';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user