Make WordPress Core

Opened 6 months ago

Closed 5 months ago

#61920 closed defect (bug) (fixed)

Incorrect schema for plugins REST API endpoint

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

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.


5 months ago
#1

  • Keywords has-patch added; needs-patch removed

#2 @johnbillion
5 months ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

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.