Make WordPress Core


Ignore:
Timestamp:
01/16/2015 07:02:26 PM (11 years ago)
Author:
wonderboymusic
Message:

@param cleanup:

  • get_metadata() will return literally anything, needs to be mixed
  • wp() and WP_Query::__construct() no longer just take a query string
  • Clarify a few others

See #30799.

File:
1 edited

Legend:

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

    r31090 r31212  
    192192 * @see wp_handle_upload_error
    193193 *
    194  * @param array  $file      Reference to a single element of $_FILES. Call the function once for
    195  *                          each uploaded file.
    196  * @param array  $overrides An associative array of names => values to override default variables.
    197  * @param string $time      Time formatted in 'yyyy/mm'.
    198  * @param string $action    Expected value for $_POST['action'].
     194 * @param array       $file      Reference to a single element of $_FILES. Call the function once for each uploaded file.
     195 * @param array|false $overrides An associative array of names => values to override default variables. Default false.
     196 * @param string      $time      Time formatted in 'yyyy/mm'.
     197 * @param string      $action    Expected value for $_POST['action'].
    199198 * @return array On success, returns an associative array of file attributes. On failure, returns
    200199 *               $overrides['upload_error_handler'](&$file, $message ) or array( 'error'=>$message ).
Note: See TracChangeset for help on using the changeset viewer.