Make WordPress Core

Opened 4 years ago

Closed 4 months ago

#53692 closed defect (bug) (fixed)

Inaccurate schema for the app_id property in the application-passwords endpoints

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 6.9 Priority: normal
Severity: normal Version: 5.6
Component: Application Passwords Keywords: has-patch has-unit-tests
Focuses: rest-api Cc:

Description

The schema for the app_id property of objects in the wp/v2/application-passwords/* endpoints has a format of uuid. This is not entirely accurate because if no app ID was provided when the application password was registered then this field contains an empty string.

Change History (5)

This ticket was mentioned in PR #1507 on WordPress/wordpress-develop by johnbillion.


4 years ago
#1

  • Keywords has-patch added; needs-refresh needs-patch removed

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


9 months ago
#2

  • Keywords has-unit-tests added; needs-unit-tests removed

@johnbillion commented on PR #1507:


4 months ago
#3

Closing in favour of #8282

#4 @johnbillion
4 months ago

  • Milestone changed from Awaiting Review to 6.9
  • Owner set to johnbillion
  • Status changed from new to reviewing

#5 @johnbillion
4 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 60404:

Application Passwords: Correct the schema of the app_id property of the application passwords REST API endpoint.

This property can contain either a UUID or an empty string.

Props sukhendu2002, johnbillion.

Fixes #53692

Note: See TracTickets for help on using tickets.