mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user