mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-28 13:00:19 +00:00
REST API: Add additional fields to the themes controller.
When the themes controller was introduced it only returned a theme's supported features. This adds the majority of a theme's header information to the response. Props ockham, spacedmonkey. Fixes #49906. git-svn-id: https://develop.svn.wordpress.org/trunk@47921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -163,6 +163,7 @@ class Tests_Theme_ThemeDir extends WP_UnitTestCase {
|
||||
'Theme with Spaces in the Directory',
|
||||
'Internationalized Theme',
|
||||
'camelCase',
|
||||
'REST Theme',
|
||||
);
|
||||
|
||||
sort( $theme_names );
|
||||
|
||||
Reference in New Issue
Block a user