WordPress.org

Make WordPress Core

Changeset 46399


Ignore:
Timestamp:
10/05/2019 02:08:01 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct formatting of the @return value description in _wp_handle_upload().

See #47110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r46382 r46399  
    714714 * @param string         $action    Expected value for `$_POST['action']`.
    715715 * @return string[] On success, returns an associative array of file attributes. On failure, returns
    716  *               `$overrides['upload_error_handler'](&$file, $message )` or `array( 'error'=>$message )`.
     716 *                  `$overrides['upload_error_handler']( &$file, $message )` or `array( 'error' => $message )`.
    717717 */
    718718function _wp_handle_upload( &$file, $overrides, $time, $action ) {
Note: See TracChangeset for help on using the changeset viewer.