mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 23:34:30 +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:
15
tests/phpunit/data/themedir1/rest-api/style.css
Normal file
15
tests/phpunit/data/themedir1/rest-api/style.css
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
Theme Name: REST Theme
|
||||
Theme URI: http://wordpress.org/?search=1&term=2
|
||||
Description: The 9' foot tall theme.
|
||||
Version: 1.6
|
||||
Author: Michael Heilemann
|
||||
Author URI: http://binarybonsai.com/?search=1&term=2
|
||||
Tags: holiday, custom-menu
|
||||
Template: default
|
||||
Requires at least: 5.3
|
||||
Requires PHP: 5.6
|
||||
Text Domain: rest-api
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user