From 9d3325a3a8250237aa7f5cf6e8af93e90d394cb4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 1 Apr 2022 11:35:05 +0000 Subject: [PATCH] Docs: Remove HTML markup from `WP_REST_URL_Details_Controller` class method summaries. Per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#summary-formerly-short-description WordPress PHP documentation standards], no HTML markup or Markdown of any kind should be used in the summary. This ensures that the summary is displayed correctly in the [https://developer.wordpress.org/reference/ WordPress Code Reference]. Props gvgvgvijayan, rsiddharth, azouamauriac, SergeyBiryukov. Fixes #55506. Built from https://develop.svn.wordpress.org/trunk@53048 git-svn-id: http://core.svn.wordpress.org/trunk@52637 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-wp-rest-url-details-controller.php | 14 +++++++------- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php index 609177463c..d65b40a437 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php @@ -124,7 +124,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { } /** - * Retrieves the contents of the `` tag from the HTML response. + * Retrieves the contents of the title tag from the HTML response. * * @since 5.9.0 * @@ -188,7 +188,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { } /** - * Checks whether a given request has permission to read remote urls. + * Checks whether a given request has permission to read remote URLs. * * @since 5.9.0 * @@ -207,7 +207,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { return new WP_Error( 'rest_cannot_view_url_details', - __( 'Sorry, you are not allowed to process remote urls.' ), + __( 'Sorry, you are not allowed to process remote URLs.' ), array( 'status' => rest_authorization_required_code() ) ); } @@ -242,7 +242,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { /** * Filters the HTTP request args for URL data retrieval. * - * Can be used to adjust response size limit and other WP_Http::request args. + * Can be used to adjust response size limit and other WP_Http::request() args. * * @since 5.9.0 * @@ -276,7 +276,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { } /** - * Parses the `<title>` contents from the provided HTML. + * Parses the title tag contents from the provided HTML. * * @since 5.9.0 * @@ -482,7 +482,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { } /** - * Retrieves the `<head>` section. + * Retrieves the head tag section. * * @since 5.9.0 * @@ -519,7 +519,7 @@ class WP_REST_URL_Details_Controller extends WP_REST_Controller { } /** - * Gets all the `<meta>` elements that have a `content` attribute. + * Gets all the meta tag elements that have a 'content' attribute. * * @since 5.9.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 295826293e..42e1f73eeb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-53047'; +$wp_version = '6.0-alpha-53048'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.