From 1b463c46014c8cfa46ecd09c049e9a300362f788 Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Fri, 23 Sep 2022 16:20:09 +0000 Subject: [PATCH] Docs: Correct `@see` reference to `deprecated_function_run` in the `_deprecated_function` docblock. In the docblock for `_deprecated_function`, there is a `@see` reference to the `deprecated_function_run` hook run inside `_deprecated_function`. However, the `@see` reference includes the word "hook" inside the quotes which is generating a bad link at https://developer.wordpress.org/reference/functions/_deprecated_function/. This change simply moves the word "hook" outside the `@see` reference to correct the link parsing on https://developer.wordpress.org. Props Camwynsp, kebbet, SergeyBiryukov, hilayt24. Fixes #56625. Built from https://develop.svn.wordpress.org/trunk@54292 git-svn-id: http://core.svn.wordpress.org/trunk@53851 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 35c2b1bd21..fe378341aa 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -5332,7 +5332,7 @@ function absint( $maybeint ) { /** * Marks a function as deprecated and inform when it has been used. * - * There is a {@see 'hook deprecated_function_run'} that will be called that can be used + * There is a hook {@see 'deprecated_function_run'} that will be called that can be used * to get the backtrace up to what file and function called the deprecated * function. * diff --git a/wp-includes/version.php b/wp-includes/version.php index bd988c90e7..7e259df5f8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta1-54291'; +$wp_version = '6.1-beta1-54292'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.