Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#61920 closed defect (bug) (fixed)

Incorrect schema for plugins REST API endpoint

Reported by: johnbillion Owned by: johnbillion
Priority: normal Milestone: 6.7
Component: Plugins Version: 5.5
Severity: normal Keywords: good-first-bug has-patch
Cc: Focuses: rest-api

Description

The schema for the wp/v2/plugins REST API endpoint declares the author property as an object, but it is in fact a string containing the name of the author of the plugin.

Change History (2)

This ticket was mentioned in PR #7239 on WordPress/wordpress-develop by @narenin.


2 years ago
#1

  • Keywords has-patch added; needs-patch removed

#2 @johnbillion
2 years ago

  • Owner set to johnbillion
  • Resolutionfixed
  • Status newclosed

In 59031:

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

Note: See TracTickets for help on using tickets.