Skip to content

Commit

Permalink
Plugins: Correct the item schema for the plugins REST API endpoint.
Browse files Browse the repository at this point in the history
The `author` property contains the string name of the plugin author.

Props narenin.

Fixes #61920


git-svn-id: https://develop.svn.wordpress.org/trunk@59031 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
johnbillion committed Sep 17, 2024
1 parent cdd137e commit f79ad14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ public function get_item_schema() {
),
'author' => array(
'description' => __( 'The plugin author.' ),
'type' => 'object',
'type' => 'string',
'readonly' => true,
'context' => array( 'view', 'edit' ),
),
Expand Down

0 comments on commit f79ad14

Please sign in to comment.