From 73f7ecce4c3188527d479734990ee9eda6ee2b4e Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 25 Aug 2023 05:02:53 +0000 Subject: [PATCH] Docs: Docblock improvements in `_deprecated_class()` function, as per docblocks standards. Follow-up to [56467]. See #58833. git-svn-id: https://develop.svn.wordpress.org/trunk@56471 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 7a9572fd83..d76628c36b 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -5599,8 +5599,7 @@ function _deprecated_constructor( $class_name, $version, $parent_class = '' ) { * Marks a class as deprecated and informs when it has been used. * * There is a {@see 'deprecated_class_run'} hook that will be called that can be used - * to get the backtrace up to what file and function called the - * deprecated class. + * to get the backtrace up to what file and function called the deprecated class. * * The current behavior is to trigger a user error if `WP_DEBUG` is true. * @@ -5609,7 +5608,7 @@ function _deprecated_constructor( $class_name, $version, $parent_class = '' ) { * * @since 6.4.0 * - * @param string $class The class being instantiated + * @param string $class The class being instantiated. * @param string $version The version of WordPress that deprecated the class. * @param string $replacement Optional. The class or function that should have been called. * Default empty string. @@ -5621,7 +5620,7 @@ function _deprecated_class( $class, $version, $replacement = '' ) { * * @since 6.4.0 * - * @param string $class The class being instantiated + * @param string $class The class being instantiated. * @param string $replacement The class or function that should have been called. * @param string $version The version of WordPress that deprecated the class. */