mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
e33a49b1bd
commit
d557380e42
@ -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.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user