From 38beea2e3a1e08764624b3c2948ec0f4df1e48e7 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 9 Oct 2020 22:28:54 +0000 Subject: [PATCH] General: Docblock improvements for the `WP_Error` class. Props garrett-eclipse See #38777 git-svn-id: https://develop.svn.wordpress.org/trunk@49116 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-error.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class-wp-error.php b/src/wp-includes/class-wp-error.php index 33bcd19ed7..8cb2c3c58e 100644 --- a/src/wp-includes/class-wp-error.php +++ b/src/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 ) {