From c1401d70091cf3bf0fae67a346bc0ba514e8e900 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 9 Oct 2020 22:30:04 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-error.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/class-wp-error.php b/wp-includes/class-wp-error.php index 33bcd19ed7..8cb2c3c58e 100644 --- a/wp-includes/class-wp-error.php +++ b/wp-includes/class-wp-error.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 9f9f7ba638..178d36cdac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.