Skip to content

Commit

Permalink
Docs: Correct formatting of the @return value description in `_wp_h…
Browse files Browse the repository at this point in the history
…andle_upload()`.

See #47110.

git-svn-id: https://develop.svn.wordpress.org/trunk@46399 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov authored and SergeyBiryukov committed Oct 5, 2019
1 parent 840a033 commit ef942c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/includes/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ef942c6

Please sign in to comment.