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:
ryan 2012-05-22 15:25:35 +00:00
parent cb33ac7824
commit b66fb16fe5
1 changed files with 1 additions and 1 deletions

View File

@ -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>';