Plugins: Correct the item schema for the plugins REST API endpoint.
The `author` property contains the string name of the plugin author. Props narenin. Fixes #61920 Built from https://develop.svn.wordpress.org/trunk@59031 git-svn-id: http://core.svn.wordpress.org/trunk@58427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7629bd782d
commit
757729e878
|
@ -913,7 +913,7 @@ class WP_REST_Plugins_Controller extends WP_REST_Controller {
|
||||||
),
|
),
|
||||||
'author' => array(
|
'author' => array(
|
||||||
'description' => __( 'The plugin author.' ),
|
'description' => __( 'The plugin author.' ),
|
||||||
'type' => 'object',
|
'type' => 'string',
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
),
|
),
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-59030';
|
$wp_version = '6.7-alpha-59031';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue