Skip to content

Commit

Permalink
format should be uri, not type
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jun 4, 2020
1 parent fac13e5 commit 7f5db79
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,18 +260,20 @@ public function get_item_schema() {
),
'author_uri' => array(
'description' => __( 'The website of the theme author.' ),
'format' => 'uri',
'type' => 'object',
'format' => 'uri',
'readonly' => true,
'properties' => array(
'raw' => array(
'description' => __( 'The website of the theme author, as found in the theme header.' ),
'type' => 'uri',
'type' => 'string',
'format' => 'uri',
'readonly' => true,
),
'rendered' => array(
'description' => __( 'The website of the theme author, transformed for display.' ),
'type' => 'uri',
'type' => 'string',
'format' => 'uri',
'readonly' => true,
),
),
Expand Down Expand Up @@ -629,17 +631,19 @@ public function get_item_schema() {
'theme_uri' => array(
'description' => __( 'The URI of the theme\'s webpage.' ),
'type' => 'object',
'readonly' => true,
'format' => 'uri',
'readonly' => true,
'properties' => array(
'raw' => array(
'description' => __( 'The URI of the theme\'s webpage, as found in the theme header.' ),
'type' => 'uri',
'type' => 'string',
'format' => 'uri',
'readonly' => true,
),
'rendered' => array(
'description' => __( 'The URI of the theme\'s webpage, transformed for display.' ),
'type' => 'uri',
'type' => 'string',
'format' => 'uri',
'readonly' => true,
),
),
Expand Down

0 comments on commit 7f5db79

Please sign in to comment.