Make WordPress Core

Changeset 54292


Ignore:
Timestamp:
09/23/2022 04:19:00 PM (18 months ago)
Author:
davidbaumwald
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r54267 r54292  
    53335333 * Marks a function as deprecated and inform when it has been used.
    53345334 *
    5335  * There is a {@see 'hook deprecated_function_run'} that will be called that can be used
     5335 * There is a hook {@see 'deprecated_function_run'} that will be called that can be used
    53365336 * to get the backtrace up to what file and function called the deprecated
    53375337 * function.
Note: See TracChangeset for help on using the changeset viewer.