WordPress.org

Make WordPress Core

Changeset 28452


Ignore:
Timestamp:
05/16/2014 05:40:44 PM (7 years ago)
Author:
wonderboymusic
Message:

Update inline docs for wp_handle_upload|sideload to reflect their non-use of extract().

See #22400.

File:
1 edited

Legend:

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

    r28451 r28452  
    202202 * @uses delete_transient
    203203 * @param array $file Reference to a single element of $_FILES. Call the function once for each uploaded file.
    204  * @param array $overrides Optional. An associative array of names=>values to override default variables with extract( $overrides, EXTR_OVERWRITE ).
     204 * @param array $overrides Optional. An associative array of names=>values to override default variables.
    205205 * @param string $time Optional. Time formatted in 'yyyy/mm'.
    206206 * @return array On success, returns an associative array of file attributes. On failure, returns $overrides['upload_error_handler'](&$file, $message ) or array( 'error'=>$message ).
     
    373373 * @uses wp_unique_filename
    374374 * @param array $file an array similar to that of a PHP $_FILES POST array
    375  * @param array $overrides Optional. An associative array of names=>values to override default variables with extract( $overrides, EXTR_OVERWRITE ).
     375 * @param array $overrides Optional. An associative array of names=>values to override default variables.
    376376 * @param string $time Optional. Time formatted in 'yyyy/mm'.
    377377 * @return array On success, returns an associative array of file attributes. On failure, returns $overrides['upload_error_handler'](&$file, $message ) or array( 'error'=>$message ).
Note: See TracChangeset for help on using the changeset viewer.