Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#53162 closed defect (bug) (fixed)

Update REST API help/documentation link

Reported by: dd32's profile dd32 Owned by: davidbaumwald's profile davidbaumwald
Milestone: 5.8 Priority: normal
Severity: normal Version:
Component: REST API Keywords: has-patch commit
Focuses: docs, rest-api Cc:

Description

The WordPress REST API includes http://v2.wp-api.org/ in the help key on all responses, we should update that to either be the current redirect location https://developer.wordpress.org/rest-api/ or possibly https://api.wordpress.org/ (which redirects to the same location)

https://core.trac.wordpress.org/browser/trunk/src/wp-includes/rest-api/class-wp-rest-server.php?marks=1229#L1220

Attachments (2)

53162.diff (538 bytes) - added by mukesh27 4 years ago.
53162.1.diff (569 bytes) - added by audrasjb 4 years ago.
Use DevHub direct link instead, to avoid an unnecessary redirection

Download all attachments as: .zip

Change History (6)

#1 @dd32
4 years ago

  • Summary changed from Update documentation link to Update REST API help/documentation link

@mukesh27
4 years ago

#2 @mukesh27
4 years ago

  • Keywords has-patch added

Hi there!

53162.diff patch added with https://api.wordpress.org/ link.

@audrasjb
4 years ago

Use DevHub direct link instead, to avoid an unnecessary redirection

#3 @SergeyBiryukov
4 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 5.8
  • Owner set to davidbaumwald
  • Status changed from new to assigned

#4 @davidbaumwald
4 years ago

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

In 50840:

Docs: Update help key documentation link in REST API response.

Props dd32, mukesh27, audrasjb, SergeyBiryukov.
Fixes #53162.

Note: See TracTickets for help on using tickets.