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

Follow-up to [56467].

See #58833.



Built from https://develop.svn.wordpress.org/trunk@56471


git-svn-id: http://core.svn.wordpress.org/trunk@55983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-08-25 05:04:19 +00:00
parent 24ac6595a6
commit 510c3e9628
2 changed files with 4 additions and 5 deletions

View File

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

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-alpha-56470';
$wp_version = '6.4-alpha-56471';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.