diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index cde8ddb228..72cad87bd8 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -126,7 +126,7 @@ if ($allowed_files) : ($template_show)" : "$description"; + $filedesc = ( $description != $template_file ) ? "$description ($template_show)" : "$description"; $filedesc = ( $template_file == $file ) ? "$description ($template_show)" : $filedesc; ?>