Rewrite theme-editor.php to use the new WP_Theme API. see #20103.

git-svn-id: https://develop.svn.wordpress.org/trunk@20313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-03-29 03:00:38 +00:00
parent ef6be74a33
commit 3b38b4a124
2 changed files with 88 additions and 120 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ function get_file_description( $file ) {
return sprintf( __( '%s Page Template' ), _cleanup_header_comment($name[1]) );
}
return basename( $file );
return trim( basename( $file ) );
}
/**