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.

git-svn-id: https://develop.svn.wordpress.org/trunk@54292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David Baumwald 2022-09-23 16:19:00 +00:00
parent e33a49b1bd
commit d557380e42

View File

@ -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.
*