General: Docblock improvements for the `WP_Error` class.
Props garrett-eclipse See #38777 Built from https://develop.svn.wordpress.org/trunk@49116 git-svn-id: http://core.svn.wordpress.org/trunk@48878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
543b14ed0a
commit
c1401d7009
|
@ -25,7 +25,7 @@ class WP_Error {
|
|||
public $errors = array();
|
||||
|
||||
/**
|
||||
* Stores the most-recently added data for each error code.
|
||||
* Stores the most recently added data for each error code.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @var array
|
||||
|
@ -146,7 +146,7 @@ class WP_Error {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieves the most-recently added error data for an error code.
|
||||
* Retrieves the most recently added error data for an error code.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
|
@ -296,8 +296,8 @@ class WP_Error {
|
|||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @param WP_Error $from From.
|
||||
* @param WP_Error $to To.
|
||||
* @param WP_Error $from The WP_Error to copy from.
|
||||
* @param WP_Error $to The WP_Error to copy to.
|
||||
*/
|
||||
protected static function copy_errors( WP_Error $from, WP_Error $to ) {
|
||||
foreach ( $from->get_error_codes() as $code ) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-alpha-49115';
|
||||
$wp_version = '5.6-alpha-49116';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue