From ef942c65bbc4a01b6f99812d7db518d2dd5d7b97 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Sat, 5 Oct 2019 02:08:01 +0000 Subject: [PATCH] Docs: Correct formatting of the `@return` value description in `_wp_handle_upload()`. See #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@46399 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 3812dc8000..edb3d99361 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -713,7 +713,7 @@ function validate_file_to_edit( $file, $allowed_files = array() ) { * @param string $time Time formatted in 'yyyy/mm'. * @param string $action Expected value for `$_POST['action']`. * @return string[] On success, returns an associative array of file attributes. On failure, returns - * `$overrides['upload_error_handler'](&$file, $message )` or `array( 'error'=>$message )`. + * `$overrides['upload_error_handler']( &$file, $message )` or `array( 'error' => $message )`. */ function _wp_handle_upload( &$file, $overrides, $time, $action ) { // The default error handler.