Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#53188 closed defect (bug) (wontfix)

Update `rel` attributes in `Link` headers in all REST API responses

Reported by: audrasjb's profile audrasjb Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: REST API Keywords:
Focuses: docs Cc:

Description

The WordPress REST API includes http://v2.wp-api.org/ in the rel attribute of the Link header on all responses. We should update that to be the current location of the documentation: https://developer.wordpress.org/rest-api/

Related: #53162

For those interested, Link headers were introduced in #35580.

Attachments (1)

53188.diff (1.1 KB) - added by audrasjb 3 years ago.

Download all attachments as: .zip

Change History (4)

#1 @audrasjb
3 years ago

  • Keywords has-patch added; needs-patch removed

@audrasjb
3 years ago

#2 @TimothyBlynJacobs
3 years ago

  • Milestone 5.8 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

This would be a breaking change since the link rel is used for discovery.

#3 @audrasjb
3 years ago

  • Keywords has-patch removed

Oh… I finally got it, thanks @TimothyBlynJacobs

Note: See TracTickets for help on using tickets.