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:
parent
24ac6595a6
commit
510c3e9628
|
@ -5599,8 +5599,7 @@ function _deprecated_constructor( $class_name, $version, $parent_class = '' ) {
|
||||||
* Marks a class as deprecated and informs when it has been used.
|
* 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
|
* 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
|
* to get the backtrace up to what file and function called the deprecated class.
|
||||||
* deprecated class.
|
|
||||||
*
|
*
|
||||||
* The current behavior is to trigger a user error if `WP_DEBUG` is true.
|
* 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
|
* @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 $version The version of WordPress that deprecated the class.
|
||||||
* @param string $replacement Optional. The class or function that should have been called.
|
* @param string $replacement Optional. The class or function that should have been called.
|
||||||
* Default empty string.
|
* Default empty string.
|
||||||
|
@ -5621,7 +5620,7 @@ function _deprecated_class( $class, $version, $replacement = '' ) {
|
||||||
*
|
*
|
||||||
* @since 6.4.0
|
* @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 $replacement The class or function that should have been called.
|
||||||
* @param string $version The version of WordPress that deprecated the class.
|
* @param string $version The version of WordPress that deprecated the class.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue