Make WordPress Core

Changeset 56471


Ignore:
Timestamp:
08/25/2023 05:02:53 AM (15 months ago)
Author:
audrasjb
Message:

Docs: Docblock improvements in _deprecated_class() function, as per docblocks standards.

Follow-up to [56467].

See #58833.

File:
1 edited

Legend:

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

    r56468 r56471  
    56005600 *
    56015601 * There is a {@see 'deprecated_class_run'} hook that will be called that can be used
    5602  * to get the backtrace up to what file and function called the
    5603  * deprecated class.
     5602 * to get the backtrace up to what file and function called the deprecated class.
    56045603 *
    56055604 * The current behavior is to trigger a user error if `WP_DEBUG` is true.
     
    56105609 * @since 6.4.0
    56115610 *
    5612  * @param string $class       The class being instantiated
     5611 * @param string $class       The class being instantiated.
    56135612 * @param string $version     The version of WordPress that deprecated the class.
    56145613 * @param string $replacement Optional. The class or function that should have been called.
     
    56225621     * @since 6.4.0
    56235622     *
    5624      * @param string $class       The class being instantiated
     5623     * @param string $class       The class being instantiated.
    56255624     * @param string $replacement The class or function that should have been called.
    56265625     * @param string $version     The version of WordPress that deprecated the class.
Note: See TracChangeset for help on using the changeset viewer.