Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#53162 closed defect (bug) (fixed)

Update REST API help/documentation link

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

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 6 years ago.
53162.1.diff​ (569 bytes ) - added by audrasjb 6 years ago.
Use DevHub direct link instead, to avoid an unnecessary redirection

Download all attachments as: .zip

Change History (6)

#1 @dd32
6 years ago

  • Summary Update documentation link → Update REST API help/documentation link

#2 @mukesh27
6 years ago

  • Keywords has-patch added

Hi there!

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

@audrasjb
6 years ago

Use DevHub direct link instead, to avoid an unnecessary redirection

#3 @SergeyBiryukov
6 years ago

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

#4 @davidbaumwald
6 years ago

  • Resolution → fixed
  • Status assigned → 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.