From 9cd6547f1382d13adb5b1933167935e6729787a4 Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Tue, 11 May 2021 18:05:02 +0000 Subject: [PATCH] Docs: Update `help` key documentation link in REST API response. Props dd32, mukesh27, audrasjb, SergeyBiryukov. Fixes #53162. Built from https://develop.svn.wordpress.org/trunk@50840 git-svn-id: http://core.svn.wordpress.org/trunk@50449 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/class-wp-rest-server.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index 1e85d57cd4..f9e35bdcbf 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -1226,7 +1226,7 @@ class WP_REST_Server { ); $response = new WP_REST_Response( $available ); - $response->add_link( 'help', 'http://v2.wp-api.org/' ); + $response->add_link( 'help', 'https://developer.wordpress.org/rest-api/' ); $this->add_active_theme_link_to_index( $response ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 183e9bcb49..6aa554ef20 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50839'; +$wp_version = '5.8-alpha-50840'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.